Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008846/0.0008845, allocations: 94.8 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008887/0.0008887, allocations: 200.8 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.7 MB / 247.5 MB, free: 9.492 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002523/0.0002523, allocations: 11.98 kB / 308.4 MB, free: 0.5625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1023, allocations: 51.52 MB / 359.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003337/0.1056, allocations: 2.555 MB / 362.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1071, allocations: 0.7364 MB / 363.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002416/0.1074, allocations: 7.938 kB / 363.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.1076, allocations: 31.75 kB / 363.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.1079, allocations: 87.38 kB / 363.3 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.1082, allocations: 95.92 kB / 363.4 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004479/0.1087, allocations: 362.5 kB / 363.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002403/0.1089, allocations: 107.8 kB / 363.9 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003264/0.1093, allocations: 127.4 kB / 364 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.1095, allocations: 147.3 kB / 364.2 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.395e-05/0.1096, allocations: 16 kB / 364.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.668e-05/0.1096, allocations: 16 kB / 364.2 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.1097, allocations: 55.75 kB / 364.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.1099, allocations: 168.9 kB / 364.4 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.1102, allocations: 331.3 kB / 364.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1102, allocations: 0 / 364.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1102, allocations: 0 / 364.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.1103, allocations: 0 / 364.7 MB, free: 8.195 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.001285/0.1115, allocations: 0.6303 MB / 365.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1116, allocations: 12.03 kB / 365.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.52e-05/0.1117, allocations: 32.56 kB / 365.4 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.1121, allocations: 288.6 kB / 365.7 MB, free: 7.141 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.1121, allocations: 16.94 kB / 365.7 MB, free: 7.125 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.253e-05/0.1122, allocations: 32.34 kB / 365.7 MB, free: 7.094 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007643/0.113, allocations: 332 kB / 366.1 MB, free: 6.762 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.113, allocations: 4 kB / 366.1 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.113, allocations: 4 kB / 366.1 MB, free: 6.754 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.113, allocations: 8 kB / 366.1 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008847/0.1139, allocations: 310 kB / 366.4 MB, free: 6.441 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.1159, allocations: 1.139 MB / 367.5 MB, free: 5.219 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009583/0.1168, allocations: 274.6 kB / 367.8 MB, free: 4.941 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003682/0.1172, allocations: 128.7 kB / 367.9 MB, free: 4.812 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.1173, allocations: 3.938 kB / 367.9 MB, free: 4.809 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005302/0.1178, allocations: 192.9 kB / 368.1 MB, free: 4.602 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.924e-06/0.1178, allocations: 0 / 368.1 MB, free: 4.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001114/0.1189, allocations: 357.2 kB / 368.5 MB, free: 4.246 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.119, allocations: 88.98 kB / 368.5 MB, free: 4.141 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.1193, allocations: 266.5 kB / 368.8 MB, free: 3.871 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.1194, allocations: 25.7 kB / 368.8 MB, free: 3.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.1195, allocations: 195.5 kB / 369 MB, free: 3.645 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.1196, allocations: 43.44 kB / 369.1 MB, free: 3.602 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.1196, allocations: 25.7 kB / 369.1 MB, free: 3.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1198, allocations: 334.8 kB / 369.4 MB, free: 3.234 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/0.1201, allocations: 124.1 kB / 369.5 MB, free: 3.109 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004212/0.1206, allocations: 200.6 kB / 369.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007656/0.1214, allocations: 335.7 kB / 370.1 MB, free: 2.504 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1214, allocations: 0 / 370.1 MB, free: 2.504 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009652/0.1223, allocations: 390.9 kB / 370.4 MB, free: 2.109 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.386e-05/0.1224, allocations: 37.69 kB / 370.5 MB, free: 2.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.1224, allocations: 0 / 370.5 MB, free: 2.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1224, allocations: 4 kB / 370.5 MB, free: 2.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.1227, allocations: 75.89 kB / 370.6 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.1227, allocations: 8.062 kB / 370.6 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.1231, allocations: 59.73 kB / 370.6 MB, free: 1.922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.1231, allocations: 8 kB / 370.6 MB, free: 1.914 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.0001675/0.1233, allocations: 153.7 kB / 370.8 MB, free: 1.754 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.1233, allocations: 19.72 kB / 370.8 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.456e-05/0.1234, allocations: 29.7 kB / 370.8 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1234, allocations: 0 / 370.8 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1234, allocations: 0 / 370.8 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1234, allocations: 3.938 kB / 370.8 MB, free: 1.699 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.1238, allocations: 305.5 kB / 371.1 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1238, allocations: 4 kB / 371.1 MB, free: 1.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.124, allocations: 51.91 kB / 371.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.1241, allocations: 3.984 kB / 371.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.1241, allocations: 4 kB / 371.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.1241, allocations: 7.938 kB / 371.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.1241, allocations: 3.984 kB / 371.2 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.1252, allocations: 412.6 kB / 371.6 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.342e-05/0.1253, allocations: 100.8 kB / 371.7 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.394e-05/0.1254, allocations: 7.984 kB / 371.7 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.1256, allocations: 35.97 kB / 371.8 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/0.1257, allocations: 12.05 kB / 371.8 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.1257, allocations: 15.92 kB / 371.8 MB, free: 0.668 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002133/0.1259, allocations: 186 kB / 372 MB, free: 500 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1259, allocations: 3.938 kB / 372 MB, free: 496 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003171/0.1263, allocations: 63.84 kB / 372 MB, free: 432 kB / 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.0001419/0.1264, allocations: 107.2 kB / 372.1 MB, free: 316 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1571/0.2836, allocations: 324.1 kB / 372.4 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.2836, allocations: 0.6875 kB / 372.4 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000456/0.2841, allocations: 116.5 kB / 372.6 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.2845, allocations: 40.16 kB / 372.6 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.2856, allocations: 0.6858 MB / 373.3 MB, free: 19.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.2858, allocations: 0.7505 MB / 374 MB, free: 18.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.473e-05/0.2859, allocations: 25.91 kB / 374.1 MB, free: 18.95 MB / 302.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2859, allocations: 0 / 374.1 MB, free: 18.95 MB / 302.1 MB Notification: Performance of Templates: time 0.005785/0.2917, allocations: 3.299 MB / 377.4 MB, free: 18.74 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches