Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_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.001815/0.001815, allocations: 103.6 kB / 18.4 MB, free: 4.543 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.002147/0.002147, allocations: 183.1 kB / 19.33 MB, free: 3.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 47.92 kB / 329.2 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1052, allocations: 46.61 MB / 375.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005541/0.1109, allocations: 2.811 MB / 378.7 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.1127, allocations: 0.7446 MB / 379.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002101/0.1129, allocations: 7.938 kB / 379.4 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.1132, allocations: 43.58 kB / 379.5 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.1135, allocations: 111.1 kB / 379.6 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.1139, allocations: 99.81 kB / 379.7 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004957/0.1144, allocations: 390.3 kB / 380.1 MB, free: 328 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002572/0.1147, allocations: 96.92 kB / 380.1 MB, free: 232 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.1149, allocations: 151.4 kB / 380.3 MB, free: 80 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2341/0.3491, allocations: 162.2 kB / 380.5 MB, free: 9.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.3493, allocations: 36.47 kB / 380.5 MB, free: 9.945 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.3494, allocations: 31.62 kB / 380.5 MB, free: 9.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.569e-05/0.3495, allocations: 66.61 kB / 380.6 MB, free: 9.945 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002443/0.3497, allocations: 160.4 kB / 380.7 MB, free: 9.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005526/0.3503, allocations: 355.5 kB / 381.1 MB, free: 9.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.3503, allocations: 3.438 kB / 381.1 MB, free: 9.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3503, allocations: 4.062 kB / 381.1 MB, free: 9.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.3503, allocations: 0 / 381.1 MB, free: 9.91 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001456/0.3518, allocations: 0.6626 MB / 381.8 MB, free: 9.434 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.3519, allocations: 10.42 kB / 381.8 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.51e-05/0.352, allocations: 33.06 kB / 381.8 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.3524, allocations: 288.6 kB / 382.1 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.3525, allocations: 19.97 kB / 382.1 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.761e-05/0.3525, allocations: 23.8 kB / 382.1 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007389/0.3533, allocations: 267.8 kB / 382.4 MB, free: 9.152 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3533, allocations: 3.938 kB / 382.4 MB, free: 9.148 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.3533, allocations: 9.5 kB / 382.4 MB, free: 9.148 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.3534, allocations: 9.078 kB / 382.4 MB, free: 9.148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000859/0.3542, allocations: 270.7 kB / 382.7 MB, free: 9.145 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.3559, allocations: 0.8778 MB / 383.6 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000893/0.3568, allocations: 352.9 kB / 383.9 MB, free: 8.656 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004647/0.3573, allocations: 130.2 kB / 384 MB, free: 8.645 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.3574, allocations: 1.344 kB / 384 MB, free: 8.645 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004781/0.3579, allocations: 203.1 kB / 384.2 MB, free: 8.562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 2.084e-06/0.3579, allocations: 0 / 384.2 MB, free: 8.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001888/0.3598, allocations: 0.5725 MB / 384.8 MB, free: 8.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.3598, allocations: 113.7 kB / 384.9 MB, free: 8.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.3602, allocations: 266.4 kB / 385.2 MB, free: 8.176 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.3602, allocations: 31.67 kB / 385.2 MB, free: 8.145 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.3603, allocations: 173.1 kB / 385.4 MB, free: 8.027 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.396e-05/0.3604, allocations: 63.58 kB / 385.4 MB, free: 7.992 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.3605, allocations: 52.02 kB / 385.5 MB, free: 7.973 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.203e-05/0.3606, allocations: 331.9 kB / 385.8 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.3609, allocations: 106.3 kB / 385.9 MB, free: 7.652 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.3613, allocations: 181.6 kB / 386.1 MB, free: 7.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006867/0.362, allocations: 270.3 kB / 386.4 MB, free: 7.473 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3621, allocations: 0 / 386.4 MB, free: 7.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001135/0.3632, allocations: 420.3 kB / 386.8 MB, free: 7.383 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.3633, allocations: 41 kB / 386.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3633, allocations: 4.625 kB / 386.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000464/0.3637, allocations: 93 kB / 386.9 MB, free: 7.336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.364, allocations: 58.81 kB / 387 MB, free: 7.336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.3655, allocations: 1.558 MB / 388.5 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/0.3659, allocations: 46.91 kB / 388.6 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.3659, allocations: 12.33 kB / 388.6 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003565/0.3663, allocations: 193.6 kB / 388.8 MB, free: 5.773 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002825/0.3666, allocations: 158.1 kB / 388.9 MB, free: 5.668 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005046/0.3671, allocations: 260.1 kB / 389.2 MB, free: 5.512 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.3671, allocations: 0 / 389.2 MB, free: 5.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0007672/0.3679, allocations: 345.6 kB / 389.5 MB, free: 5.355 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.3679, allocations: 32.55 kB / 389.5 MB, free: 5.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3679, allocations: 2.188 kB / 389.5 MB, free: 5.324 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.271e-05/0.368, allocations: 27.95 kB / 389.6 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.3683, allocations: 60.58 kB / 389.6 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007939/0.3691, allocations: 1.543 MB / 391.2 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/0.3695, allocations: 43.34 kB / 391.2 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.3695, allocations: 7.922 kB / 391.2 MB, free: 3.742 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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): 24 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.3696, allocations: 198.4 kB / 391.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/0.3697, allocations: 35.83 kB / 391.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.807e-05/0.3698, allocations: 26.59 kB / 391.5 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.3698, allocations: 5.875 kB / 391.5 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3698, allocations: 3.844 kB / 391.5 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.79e-05/0.3699, allocations: 106.6 kB / 391.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.3699, allocations: 6.359 kB / 391.6 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.3702, allocations: 25.62 kB / 391.6 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.858e-05/0.3703, allocations: 25.59 kB / 391.6 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00113/0.3714, allocations: 411.4 kB / 392 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009836/0.3724, allocations: 0.5274 MB / 392.6 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003176/0.3727, allocations: 104.5 kB / 392.7 MB, free: 2.883 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001969/0.3729, allocations: 194.1 kB / 392.9 MB, free: 2.77 MB / 318.1 MB Notification: Performance of Backend: time 6.12e-07/0.3729, allocations: 3.938 kB / 392.9 MB, free: 2.766 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.3744, allocations: 0.6994 MB / 393.6 MB, free: 2.262 MB / 318.1 MB Notification: Performance of SimCode: time 0.001126/0.3756, allocations: 1.001 MB / 394.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of Templates: time 0.01176/0.3873, allocations: 5.194 MB / 399.8 MB, free: 452 kB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches