Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001527/0.001527, allocations: 197.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000848/0.000848, allocations: 99.36 kB / 299.8 MB, free: 5.355 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002305/0.0002303, allocations: 8 kB / 360.7 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2414, allocations: 51.42 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.002514/0.244, allocations: 2.649 MB / 414.7 MB, free: 23.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.2451, allocations: 0.9909 MB / 415.7 MB, free: 22.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.2452, allocations: 4 kB / 415.7 MB, free: 22.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.2454, allocations: 40.38 kB / 415.8 MB, free: 22.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.2455, allocations: 93.25 kB / 415.8 MB, free: 22.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.2458, allocations: 119.3 kB / 416 MB, free: 21.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002865/0.2461, allocations: 434 kB / 416.4 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.2463, allocations: 125.8 kB / 416.5 MB, free: 21.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.2465, allocations: 143.4 kB / 416.7 MB, free: 21.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.2467, allocations: 167.2 kB / 416.8 MB, free: 21.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.2467, allocations: 20 kB / 416.8 MB, free: 21.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.384e-05/0.2468, allocations: 20 kB / 416.9 MB, free: 21.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.628e-05/0.2468, allocations: 63.67 kB / 416.9 MB, free: 20.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.247, allocations: 192.8 kB / 417.1 MB, free: 20.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.2473, allocations: 463.8 kB / 417.6 MB, free: 20.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2473, allocations: 0 / 417.6 MB, free: 20.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2473, allocations: 4 kB / 417.6 MB, free: 20.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.2473, allocations: 0 / 417.6 MB, free: 20.33 MB / 298.7 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.001093/0.2484, allocations: 0.6682 MB / 418.2 MB, free: 19.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.2485, allocations: 12.03 kB / 418.2 MB, free: 19.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.096e-05/0.2485, allocations: 36.55 kB / 418.3 MB, free: 19.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.2488, allocations: 306.7 kB / 418.6 MB, free: 19.22 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.2489, allocations: 24.92 kB / 418.6 MB, free: 19.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.2489, allocations: 32.38 kB / 418.6 MB, free: 19.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006442/0.2496, allocations: 363.6 kB / 419 MB, free: 18.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2496, allocations: 0 / 419 MB, free: 18.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.2496, allocations: 12 kB / 419 MB, free: 18.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.2496, allocations: 8 kB / 419 MB, free: 18.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007293/0.2504, allocations: 330 kB / 419.3 MB, free: 18.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.2521, allocations: 1.307 MB / 420.6 MB, free: 17.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006925/0.2529, allocations: 375.4 kB / 421 MB, free: 16.67 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003604/0.2532, allocations: 156.8 kB / 421.2 MB, free: 16.51 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.2533, allocations: 0 / 421.2 MB, free: 16.51 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004567/0.2537, allocations: 218.9 kB / 421.4 MB, free: 16.28 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/0.2537, allocations: 0 / 421.4 MB, free: 16.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001854/0.2556, allocations: 0.7101 MB / 422.1 MB, free: 15.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.2557, allocations: 110.8 kB / 422.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.2559, allocations: 299.1 kB / 422.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.2559, allocations: 29.7 kB / 422.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.637e-05/0.256, allocations: 208 kB / 422.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.2561, allocations: 51.27 kB / 422.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.349e-05/0.2561, allocations: 4 kB / 422.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.579e-05/0.2561, allocations: 338.8 kB / 423.1 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003225/0.2565, allocations: 128.2 kB / 423.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.2568, allocations: 224.5 kB / 423.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000618/0.2575, allocations: 374.4 kB / 423.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2575, allocations: 7.938 kB / 423.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001041/0.2585, allocations: 0.5075 MB / 424.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.2586, allocations: 33.92 kB / 424.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2586, allocations: 4 kB / 424.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002966/0.2589, allocations: 68.81 kB / 424.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.2592, allocations: 79.89 kB / 424.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.2612, allocations: 1.759 MB / 426.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003142/0.2615, allocations: 67.8 kB / 426.3 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.2616, allocations: 8 kB / 426.3 MB, free: 10.98 MB / 298.7 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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.0001266/0.2617, allocations: 161.7 kB / 426.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.2617, allocations: 27.66 kB / 426.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.392e-05/0.2618, allocations: 26.2 kB / 426.5 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2618, allocations: 8 kB / 426.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.2618, allocations: 0 / 426.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2618, allocations: 0 / 426.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.2631, allocations: 0.8395 MB / 427.4 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2631, allocations: 0 / 427.4 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.2633, allocations: 43.97 kB / 427.4 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001945/0.2635, allocations: 72.78 kB / 427.5 MB, free: 9.734 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.2635, allocations: 8 kB / 427.5 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/0.265, allocations: 1.546 MB / 429.1 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.265, allocations: 0 / 429.1 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.2663, allocations: 0.6139 MB / 429.7 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.2663, allocations: 112.7 kB / 429.8 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.2664, allocations: 8 kB / 429.8 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.2666, allocations: 52 kB / 429.8 MB, free: 7.223 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.2667, allocations: 19.97 kB / 429.9 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.2667, allocations: 4 kB / 429.9 MB, free: 7.199 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001605/0.2669, allocations: 206 kB / 430.1 MB, free: 7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2669, allocations: 0 / 430.1 MB, free: 7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003582/0.2673, allocations: 87.75 kB / 430.2 MB, free: 6.914 MB / 298.7 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.0001372/0.2674, allocations: 115.2 kB / 430.3 MB, free: 6.793 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.2686, allocations: 0.5309 MB / 430.8 MB, free: 6.238 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2686, allocations: 4 kB / 430.8 MB, free: 6.234 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003908/0.269, allocations: 255.1 kB / 431.1 MB, free: 5.973 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.2694, allocations: 52.8 kB / 431.1 MB, free: 5.922 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.2717, allocations: 1.021 MB / 432.1 MB, free: 4.871 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.2719, allocations: 0.76 MB / 432.9 MB, free: 4.086 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.272, allocations: 30.97 kB / 432.9 MB, free: 4.055 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/0.2721, allocations: 23.44 kB / 432.9 MB, free: 4.031 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2721, allocations: 0 / 432.9 MB, free: 4.031 MB / 298.7 MB Notification: Performance of Templates: time 0.006744/0.2788, allocations: 3.823 MB / 436.8 MB, free: 240 kB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches