Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001618, allocations: 109.5 kB / 17.68 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 54.61 kB / 302.1 MB, free: 5.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09472/0.09574, allocations: 49.44 MB / 351.5 MB, free: 3.656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004042/0.09982, allocations: 2.842 MB / 354.4 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.101, allocations: 0.7206 MB / 355.1 MB, free: 72 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.1012, allocations: 12 kB / 355.1 MB, free: 60 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001646/0.1014, allocations: 51.5 kB / 355.1 MB, free: 8 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.1016, allocations: 91.36 kB / 355.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.1019, allocations: 111.8 kB / 355.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003634/0.1022, allocations: 390.4 kB / 355.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.1025, allocations: 135.2 kB / 355.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.1027, allocations: 151.4 kB / 356 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.1029, allocations: 163.3 kB / 356.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.292e-05/0.1029, allocations: 40 kB / 356.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.655e-05/0.103, allocations: 36 kB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.237e-05/0.1031, allocations: 75.75 kB / 356.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.1032, allocations: 171.2 kB / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.1036, allocations: 426.6 kB / 356.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1036, allocations: 0 / 356.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1036, allocations: 0 / 356.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1036, allocations: 0 / 356.9 MB, free: 14.25 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001168/0.1048, allocations: 0.6653 MB / 357.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1048, allocations: 15.83 kB / 357.6 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.136e-05/0.1049, allocations: 32.56 kB / 357.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.1053, allocations: 284.8 kB / 357.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.1053, allocations: 24.94 kB / 357.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.917e-05/0.1054, allocations: 24.28 kB / 357.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006393/0.106, allocations: 323.9 kB / 358.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1061, allocations: 0 / 358.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.1061, allocations: 12 kB / 358.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1061, allocations: 8 kB / 358.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007461/0.1069, allocations: 274.1 kB / 358.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.1085, allocations: 1.111 MB / 359.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008166/0.1093, allocations: 246.5 kB / 359.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.1096, allocations: 100.8 kB / 360 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.1097, allocations: 7.938 kB / 360 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004095/0.1101, allocations: 173 kB / 360.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.1101, allocations: 0 / 360.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001011/0.1111, allocations: 313.1 kB / 360.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.1112, allocations: 85.05 kB / 360.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.1114, allocations: 258.6 kB / 360.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.1115, allocations: 37.7 kB / 360.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.1116, allocations: 195.5 kB / 361 MB, free: 9.852 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.1116, allocations: 35.45 kB / 361.1 MB, free: 9.816 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-05/0.1117, allocations: 53.61 kB / 361.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1118, allocations: 334.8 kB / 361.4 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/0.1122, allocations: 108.2 kB / 361.5 MB, free: 9.312 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/0.1125, allocations: 188.7 kB / 361.7 MB, free: 9.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006378/0.1132, allocations: 303.7 kB / 362 MB, free: 8.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1132, allocations: 0 / 362 MB, free: 8.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008009/0.114, allocations: 358.7 kB / 362.4 MB, free: 8.387 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.114, allocations: 37.7 kB / 362.4 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.114, allocations: 4 kB / 362.4 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1141, allocations: 4 kB / 362.4 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.1144, allocations: 72.16 kB / 362.5 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.1144, allocations: 4 kB / 362.5 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.1147, allocations: 47.75 kB / 362.5 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.1147, allocations: 8 kB / 362.6 MB, free: 8.207 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.1148, allocations: 156.8 kB / 362.7 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.1149, allocations: 23.72 kB / 362.7 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.978e-05/0.1149, allocations: 21.72 kB / 362.7 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1149, allocations: 0 / 362.7 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.115, allocations: 3.984 kB / 362.8 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.115, allocations: 7.875 kB / 362.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.1152, allocations: 309.5 kB / 363.1 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1152, allocations: 0 / 363.1 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.1155, allocations: 47.89 kB / 363.1 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1155, allocations: 0 / 363.1 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.1155, allocations: 8 kB / 363.1 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.1155, allocations: 11.94 kB / 363.1 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1155, allocations: 0 / 363.1 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009942/0.1165, allocations: 368.9 kB / 363.5 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.627e-05/0.1166, allocations: 104.8 kB / 363.6 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.1167, allocations: 4 kB / 363.6 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.1169, allocations: 32.03 kB / 363.6 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.117, allocations: 23.91 kB / 363.6 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.117, allocations: 7.938 kB / 363.7 MB, free: 7.004 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001695/0.1172, allocations: 190 kB / 363.8 MB, free: 6.816 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1172, allocations: 0 / 363.8 MB, free: 6.816 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002856/0.1175, allocations: 59.84 kB / 363.9 MB, free: 6.758 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001181/0.1176, allocations: 103.2 kB / 364 MB, free: 6.648 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007306/0.1183, allocations: 295.1 kB / 364.3 MB, free: 6.348 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1183, allocations: 0.6875 kB / 364.3 MB, free: 6.348 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.1187, allocations: 107.9 kB / 364.4 MB, free: 6.242 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.119, allocations: 40.52 kB / 364.4 MB, free: 6.203 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009555/0.1199, allocations: 0.5216 MB / 365 MB, free: 5.652 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.1202, allocations: 0.7558 MB / 365.7 MB, free: 4.867 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.482e-05/0.1203, allocations: 26.23 kB / 365.7 MB, free: 4.844 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.929e-05/0.1204, allocations: 23.42 kB / 365.8 MB, free: 4.82 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1204, allocations: 0 / 365.8 MB, free: 4.82 MB / 302.1 MB Notification: Performance of Templates: time 0.005488/0.1259, allocations: 2.973 MB / 368.7 MB, free: 1.879 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches