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.002001/0.002001, allocations: 106.6 kB / 17.73 MB, free: 5.316 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.002179/0.002179, allocations: 190.9 kB / 18.67 MB, free: 4.387 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.873/1.873, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001984/0.001984, allocations: 47.94 kB / 328.6 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1503, allocations: 46.61 MB / 375.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.006069/0.1564, allocations: 2.82 MB / 378 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.159, allocations: 0.7524 MB / 378.7 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003009/0.1593, allocations: 7.938 kB / 378.7 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003812/0.1598, allocations: 47.56 kB / 378.8 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.1601, allocations: 95.19 kB / 378.9 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.1607, allocations: 103.7 kB / 379 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006442/0.1614, allocations: 394.3 kB / 379.4 MB, free: 320 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004033/0.1618, allocations: 100.9 kB / 379.5 MB, free: 220 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004222/0.1622, allocations: 151.3 kB / 379.6 MB, free: 68 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3548/0.517, allocations: 161.8 kB / 379.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002408/0.5174, allocations: 32.72 kB / 379.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.5175, allocations: 33.12 kB / 379.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.5177, allocations: 67.44 kB / 379.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.5179, allocations: 164.2 kB / 380.1 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006691/0.5186, allocations: 354.1 kB / 380.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.5186, allocations: 0 / 380.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5186, allocations: 0.9688 kB / 380.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.5187, allocations: 0 / 380.4 MB, free: 10.54 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.001596/0.5203, allocations: 0.6811 MB / 381.1 MB, free: 10.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.449e-05/0.5203, allocations: 9.125 kB / 381.1 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.986e-05/0.5205, allocations: 38.09 kB / 381.1 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005606/0.521, allocations: 286 kB / 381.4 MB, free: 9.797 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.5211, allocations: 16.28 kB / 381.4 MB, free: 9.797 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-05/0.5211, allocations: 22.25 kB / 381.5 MB, free: 9.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000757/0.5219, allocations: 269.8 kB / 381.7 MB, free: 9.762 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.5219, allocations: 3.938 kB / 381.7 MB, free: 9.758 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.522, allocations: 10 kB / 381.7 MB, free: 9.758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.522, allocations: 5.5 kB / 381.7 MB, free: 9.758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008875/0.5229, allocations: 271.8 kB / 382 MB, free: 9.754 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.525, allocations: 0.8849 MB / 382.9 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.5261, allocations: 348.4 kB / 383.2 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004503/0.5266, allocations: 130.3 kB / 383.4 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.5266, allocations: 1.031 kB / 383.4 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005648/0.5272, allocations: 194.4 kB / 383.6 MB, free: 9.176 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 2.084e-06/0.5272, allocations: 0 / 383.6 MB, free: 9.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.002176/0.5294, allocations: 0.5819 MB / 384.1 MB, free: 9 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.5295, allocations: 106.9 kB / 384.2 MB, free: 8.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/0.5298, allocations: 270.8 kB / 384.5 MB, free: 8.719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.5299, allocations: 27.11 kB / 384.5 MB, free: 8.688 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.53, allocations: 184.3 kB / 384.7 MB, free: 8.531 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.968e-05/0.5301, allocations: 67.45 kB / 384.8 MB, free: 8.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.5302, allocations: 48.78 kB / 384.8 MB, free: 8.449 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.577e-05/0.5303, allocations: 336.2 kB / 385.2 MB, free: 8.125 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000333/0.5306, allocations: 107 kB / 385.3 MB, free: 8.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003623/0.531, allocations: 172.5 kB / 385.4 MB, free: 7.984 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006327/0.5316, allocations: 276.7 kB / 385.7 MB, free: 7.832 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5316, allocations: 3.938 kB / 385.7 MB, free: 7.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001191/0.5328, allocations: 418.4 kB / 386.1 MB, free: 7.672 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/0.5329, allocations: 37.3 kB / 386.1 MB, free: 7.637 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.5329, allocations: 2.438 kB / 386.1 MB, free: 7.637 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005375/0.5334, allocations: 93.25 kB / 386.2 MB, free: 7.621 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.5337, allocations: 61 kB / 386.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/0.5355, allocations: 1.564 MB / 387.9 MB, free: 6.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000417/0.5359, allocations: 43.23 kB / 387.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.536, allocations: 15.64 kB / 387.9 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003851/0.5364, allocations: 193.5 kB / 388.1 MB, free: 6.035 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003456/0.5367, allocations: 153.5 kB / 388.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005599/0.5373, allocations: 256.2 kB / 388.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.465e-06/0.5373, allocations: 6.547 kB / 388.5 MB, free: 5.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0009344/0.5382, allocations: 347.5 kB / 388.9 MB, free: 5.621 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.5383, allocations: 33.81 kB / 388.9 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5383, allocations: 2.438 kB / 388.9 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-05/0.5384, allocations: 28.22 kB / 388.9 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.5387, allocations: 65.27 kB / 389 MB, free: 5.566 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.5398, allocations: 1.542 MB / 390.5 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.5402, allocations: 48.27 kB / 390.6 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.5403, allocations: 11.3 kB / 390.6 MB, free: 4 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.0001863/0.5405, allocations: 202.7 kB / 390.8 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.593e-05/0.5405, allocations: 28.27 kB / 390.8 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.509e-05/0.5406, allocations: 30.53 kB / 390.8 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.5406, allocations: 2.828 kB / 390.8 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.5406, allocations: 1.094 kB / 390.8 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.5406, allocations: 1.266 kB / 390.8 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.5423, allocations: 0.7021 MB / 391.5 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5423, allocations: 0 / 391.5 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.5426, allocations: 45.08 kB / 391.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002115/0.5428, allocations: 50.41 kB / 391.6 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.5428, allocations: 6.031 kB / 391.6 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.5446, allocations: 1.552 MB / 393.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.5446, allocations: 0.9375 kB / 393.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.546, allocations: 0.5067 MB / 393.7 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.689e-05/0.5461, allocations: 102.9 kB / 393.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.5461, allocations: 10.95 kB / 393.8 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.5464, allocations: 30.73 kB / 393.8 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.5465, allocations: 20.58 kB / 393.9 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.5465, allocations: 5.625 kB / 393.9 MB, free: 1.488 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002499/0.5468, allocations: 194.4 kB / 394.1 MB, free: 1.375 MB / 318.1 MB Notification: Performance of sort global known variables: time 3e-07/0.5468, allocations: 0 / 394.1 MB, free: 1.375 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006781/0.5475, allocations: 139.2 kB / 394.2 MB, free: 1.34 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002179/0.5477, allocations: 109 kB / 394.3 MB, free: 1.246 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.5494, allocations: 0.6982 MB / 395 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5494, allocations: 1.406 kB / 395 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004433/0.5499, allocations: 248.2 kB / 395.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.5503, allocations: 52.41 kB / 395.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.5517, allocations: 0.5664 MB / 395.9 MB, free: 300 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/0.5521, allocations: 0.756 MB / 396.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001783/0.5523, allocations: 37.31 kB / 396.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.038e-05/0.5524, allocations: 21.22 kB / 396.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5524, allocations: 0 / 396.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of Templates: time 0.01302/0.5655, allocations: 4.29 MB / 401 MB, free: 14.79 MB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins/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