Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001459, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 98.47 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.101e-05/2.11e-05, allocations: 4 kB / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3565, allocations: 47.57 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.134/0.4906, allocations: 78.64 MB / 441 MB, free: 7.668 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/0.4909, allocations: 82.83 kB / 441.1 MB, free: 7.59 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02972/0.5207, allocations: 6.006 MB / 447.1 MB, free: 1.605 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.5207, allocations: 0 / 447.1 MB, free: 1.605 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.495e-05/0.5207, allocations: 8 kB / 447.1 MB, free: 1.598 MB / 331.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.001562/0.5223, allocations: 0.5898 MB / 447.7 MB, free: 0.9609 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.5224, allocations: 8.031 kB / 447.7 MB, free: 0.9531 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.5225, allocations: 31.62 kB / 447.7 MB, free: 0.9219 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005509/0.5231, allocations: 277.9 kB / 448 MB, free: 0.6094 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.5231, allocations: 11.95 kB / 448 MB, free: 0.5977 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.858e-05/0.5232, allocations: 15.98 kB / 448 MB, free: 0.582 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005404/0.5237, allocations: 165.1 kB / 448.2 MB, free: 432 kB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005027/0.5243, allocations: 183.8 kB / 448.4 MB, free: 240 kB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.5243, allocations: 7.984 kB / 448.4 MB, free: 232 kB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.5243, allocations: 0 / 448.4 MB, free: 232 kB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.5243, allocations: 8 kB / 448.4 MB, free: 224 kB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002653/0.527, allocations: 0.9127 MB / 449.3 MB, free: 15.25 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006194/0.5277, allocations: 255.9 kB / 449.5 MB, free: 14.97 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.5279, allocations: 92.84 kB / 449.6 MB, free: 14.88 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.528, allocations: 5.109 kB / 449.6 MB, free: 14.87 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003486/0.5284, allocations: 148.8 kB / 449.8 MB, free: 14.71 MB / 347.1 MB Notification: Performance of pre-optimization done (n=18): time 2.254e-06/0.5284, allocations: 0 / 449.8 MB, free: 14.71 MB / 347.1 MB Notification: Performance of matching and sorting (n=18): time 0.0008071/0.5292, allocations: 214.1 kB / 450 MB, free: 14.49 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/0.5293, allocations: 102.8 kB / 450.1 MB, free: 14.36 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/0.5296, allocations: 220.4 kB / 450.3 MB, free: 14.14 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.5297, allocations: 25.7 kB / 450.3 MB, free: 14.11 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.5299, allocations: 234.5 kB / 450.6 MB, free: 13.88 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.087e-05/0.53, allocations: 63.14 kB / 450.6 MB, free: 13.82 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.806e-05/0.53, allocations: 0 / 450.6 MB, free: 13.82 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.5302, allocations: 322.8 kB / 450.9 MB, free: 13.49 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.5304, allocations: 56.23 kB / 451 MB, free: 13.43 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.5306, allocations: 121.5 kB / 451.1 MB, free: 13.29 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.5308, allocations: 70.62 kB / 451.2 MB, free: 13.22 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5308, allocations: 0 / 451.2 MB, free: 13.22 MB / 347.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008589/0.5317, allocations: 260.8 kB / 451.4 MB, free: 12.96 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003504/0.5321, allocations: 0.6455 MB / 452.1 MB, free: 12.26 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.5321, allocations: 3.938 kB / 452.1 MB, free: 12.25 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002193/0.5323, allocations: 32.83 kB / 452.1 MB, free: 12.22 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004995/0.5328, allocations: 60.84 kB / 452.2 MB, free: 12.16 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005636/0.5334, allocations: 0.5639 MB / 452.7 MB, free: 11.57 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005475/0.534, allocations: 43.81 kB / 452.8 MB, free: 11.53 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.534, allocations: 8 kB / 452.8 MB, free: 11.52 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.534, allocations: 4 kB / 452.8 MB, free: 11.52 MB / 347.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005575/0.5346, allocations: 190.7 kB / 453 MB, free: 11.33 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.5346, allocations: 0 / 453 MB, free: 11.33 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.612e-05/0.5347, allocations: 22.45 kB / 453 MB, free: 11.3 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/0.5352, allocations: 71.77 kB / 453.1 MB, free: 11.24 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.5365, allocations: 1.332 MB / 454.4 MB, free: 9.797 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004091/0.5369, allocations: 39.97 kB / 454.4 MB, free: 9.758 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.537, allocations: 8 kB / 454.4 MB, free: 9.75 MB / 347.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.simplifiedExpr:VARIABLE(unit = "V" protected = true ) "Simplified expression for homotopy-based initialization" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000217/0.5372, allocations: 120.7 kB / 454.6 MB, free: 9.629 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.244e-05/0.5373, allocations: 27.67 kB / 454.6 MB, free: 9.602 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.671e-05/0.5374, allocations: 21.95 kB / 454.6 MB, free: 9.578 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.5374, allocations: 8 kB / 454.6 MB, free: 9.57 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.5374, allocations: 0 / 454.6 MB, free: 9.57 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5374, allocations: 0 / 454.6 MB, free: 9.57 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.5387, allocations: 0.5918 MB / 455.2 MB, free: 8.93 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5387, allocations: 0 / 455.2 MB, free: 8.93 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004225/0.5392, allocations: 47.91 kB / 455.3 MB, free: 8.883 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001289/0.5393, allocations: 32.84 kB / 455.3 MB, free: 8.848 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.5394, allocations: 4.031 kB / 455.3 MB, free: 8.844 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/0.5408, allocations: 1.315 MB / 456.6 MB, free: 7.418 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.5409, allocations: 4.969 kB / 456.6 MB, free: 7.414 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.5419, allocations: 398.6 kB / 457 MB, free: 6.996 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.542, allocations: 96.86 kB / 457.1 MB, free: 6.883 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.144e-05/0.5421, allocations: 11.98 kB / 457.1 MB, free: 6.871 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000501/0.5426, allocations: 43.36 kB / 457.1 MB, free: 6.832 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.5427, allocations: 19.97 kB / 457.2 MB, free: 6.812 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.5428, allocations: 4 kB / 457.2 MB, free: 6.809 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0002453/0.543, allocations: 172.5 kB / 457.3 MB, free: 6.641 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.543, allocations: 0 / 457.3 MB, free: 6.641 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0008041/0.5439, allocations: 131.5 kB / 457.5 MB, free: 6.512 MB / 347.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001937/0.5441, allocations: 109.5 kB / 457.6 MB, free: 6.398 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.5451, allocations: 480 kB / 458 MB, free: 5.898 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5452, allocations: 4 kB / 458 MB, free: 5.895 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.5455, allocations: 182.4 kB / 458.2 MB, free: 5.707 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.546, allocations: 44.47 kB / 458.3 MB, free: 5.66 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.5471, allocations: 382.6 kB / 458.6 MB, free: 5.258 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.5475, allocations: 0.7599 MB / 459.4 MB, free: 4.469 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.5477, allocations: 23.44 kB / 459.4 MB, free: 4.449 MB / 347.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5477, allocations: 4 kB / 459.4 MB, free: 4.445 MB / 347.1 MB Notification: Performance of Templates: time 0.009855/0.5575, allocations: 4.265 MB / 463.7 MB, free: 220 kB / 347.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches