Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 102.7 kB / 17.59 MB, free: 5.426 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.001788/0.001788, allocations: 187.3 kB / 18.52 MB, free: 4.508 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.375/1.375, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 49.75 kB / 301.3 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09108/0.0922, allocations: 49.44 MB / 350.7 MB, free: 4.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004455/0.0967, allocations: 3.061 MB / 353.8 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.09823, allocations: 0.7753 MB / 354.6 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003058/0.09856, allocations: 4 kB / 354.6 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.09883, allocations: 63.44 kB / 354.6 MB, free: 492 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003819/0.09926, allocations: 107.1 kB / 354.8 MB, free: 384 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.09969, allocations: 131.7 kB / 354.9 MB, free: 252 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006203/0.1003, allocations: 458.3 kB / 355.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/0.1006, allocations: 142.9 kB / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003336/0.101, allocations: 183.3 kB / 355.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.1012, allocations: 191.2 kB / 355.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.708e-05/0.1013, allocations: 44 kB / 355.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.969e-05/0.1014, allocations: 44 kB / 355.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.958e-05/0.1015, allocations: 87.62 kB / 356 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001965/0.1017, allocations: 195.2 kB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004467/0.1022, allocations: 490.6 kB / 356.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1022, allocations: 0 / 356.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1022, allocations: 3.938 kB / 356.7 MB, free: 14.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.1022, allocations: 4 kB / 356.7 MB, free: 14.44 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001474/0.1037, allocations: 0.7172 MB / 357.4 MB, free: 13.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1037, allocations: 11.89 kB / 357.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.1039, allocations: 40.55 kB / 357.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.1042, allocations: 306.7 kB / 357.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.1043, allocations: 36.8 kB / 357.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.957e-05/0.1043, allocations: 28.31 kB / 357.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007601/0.1051, allocations: 355.6 kB / 358.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1051, allocations: 0 / 358.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.1052, allocations: 12 kB / 358.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1052, allocations: 4 kB / 358.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008576/0.106, allocations: 306 kB / 358.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.1083, allocations: 1.26 MB / 359.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008223/0.1091, allocations: 339.5 kB / 360.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004376/0.1096, allocations: 144.8 kB / 360.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.1096, allocations: 0 / 360.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005555/0.1102, allocations: 205.7 kB / 360.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.803e-06/0.1102, allocations: 0 / 360.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.002203/0.1124, allocations: 0.6316 MB / 361 MB, free: 9.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/0.1125, allocations: 110.8 kB / 361.1 MB, free: 9.688 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.1128, allocations: 294.9 kB / 361.4 MB, free: 9.391 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.1129, allocations: 29.7 kB / 361.5 MB, free: 9.355 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.113, allocations: 216.2 kB / 361.7 MB, free: 9.137 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.066e-05/0.1131, allocations: 59.11 kB / 361.7 MB, free: 9.078 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.703e-05/0.1132, allocations: 53.7 kB / 361.8 MB, free: 9.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1133, allocations: 330.8 kB / 362.1 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000384/0.1137, allocations: 120.2 kB / 362.2 MB, free: 8.566 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000438/0.1142, allocations: 224.2 kB / 362.4 MB, free: 8.309 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000763/0.1149, allocations: 335.7 kB / 362.8 MB, free: 7.938 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.115, allocations: 4 kB / 362.8 MB, free: 7.934 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001336/0.1163, allocations: 485.1 kB / 363.3 MB, free: 7.445 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/0.1164, allocations: 40.34 kB / 363.3 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.1164, allocations: 4 kB / 363.3 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003239/0.1167, allocations: 60.83 kB / 363.4 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.117, allocations: 71.94 kB / 363.4 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/0.1193, allocations: 1.633 MB / 365.1 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.1197, allocations: 63.7 kB / 365.1 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.1197, allocations: 12 kB / 365.1 MB, free: 5.418 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002084/0.1199, allocations: 146.3 kB / 365.3 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.969e-05/0.12, allocations: 39.5 kB / 365.3 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.048e-05/0.1201, allocations: 30.19 kB / 365.3 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1201, allocations: 4 kB / 365.3 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1201, allocations: 4 kB / 365.3 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1201, allocations: 4 kB / 365.4 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.1217, allocations: 0.8002 MB / 366.2 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1217, allocations: 0 / 366.2 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.1219, allocations: 48 kB / 366.2 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002227/0.1222, allocations: 60.81 kB / 366.3 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.1222, allocations: 0 / 366.3 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.1242, allocations: 1.633 MB / 367.9 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1242, allocations: 0 / 367.9 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.1257, allocations: 0.5661 MB / 368.5 MB, free: 1.852 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.1258, allocations: 104.8 kB / 368.6 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/0.1258, allocations: 4 kB / 368.6 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/0.1262, allocations: 36.03 kB / 368.6 MB, free: 1.691 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/0.1262, allocations: 19.97 kB / 368.6 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.1263, allocations: 4 kB / 368.6 MB, free: 1.668 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002248/0.1265, allocations: 214 kB / 368.8 MB, free: 1.461 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1265, allocations: 0 / 368.8 MB, free: 1.461 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004377/0.127, allocations: 83.77 kB / 368.9 MB, free: 1.379 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.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 (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001727/0.1271, allocations: 115.1 kB / 369 MB, free: 1.258 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.1283, allocations: 454.1 kB / 369.5 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.1283, allocations: 3.938 kB / 369.5 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004785/0.1288, allocations: 230.6 kB / 369.7 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.1292, allocations: 62.86 kB / 369.8 MB, free: 500 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1647/0.2939, allocations: 0.8714 MB / 370.6 MB, free: 25.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.2942, allocations: 0.7692 MB / 371.4 MB, free: 24.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.2943, allocations: 23.97 kB / 371.4 MB, free: 24.78 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2943, allocations: 1.75 kB / 371.4 MB, free: 24.78 MB / 302.1 MB Notification: Performance of Templates: time 0.01027/0.3046, allocations: 5.269 MB / 376.7 MB, free: 24.52 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches