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.002012/0.002012, allocations: 188.4 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.938/1.938, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 88.38 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.0003909, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3428, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.4677, allocations: 79.39 MB / 453.9 MB, free: 1.363 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/0.468, allocations: 83.95 kB / 454 MB, free: 1.281 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02873/0.4968, allocations: 6.073 MB / 460.1 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.4968, allocations: 0 / 460.1 MB, free: 11.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.607e-05/0.4969, allocations: 4 kB / 460.1 MB, free: 11.18 MB / 346.7 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.00171/0.4986, allocations: 0.6223 MB / 460.7 MB, free: 10.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.4987, allocations: 12.03 kB / 460.7 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.4988, allocations: 31.62 kB / 460.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000507/0.4993, allocations: 284.5 kB / 461 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.4994, allocations: 16.52 kB / 461.1 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.057e-05/0.4995, allocations: 24 kB / 461.1 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.5005, allocations: 272.8 kB / 461.4 MB, free: 9.828 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.5005, allocations: 3.938 kB / 461.4 MB, free: 9.824 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.057e-05/0.5006, allocations: 12 kB / 461.4 MB, free: 9.812 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.5006, allocations: 4 kB / 461.4 MB, free: 9.809 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.5021, allocations: 306 kB / 461.7 MB, free: 9.508 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002752/0.5049, allocations: 0.9772 MB / 462.6 MB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.5064, allocations: 390 kB / 463 MB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.5065, allocations: 0 / 463 MB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007885/0.5073, allocations: 203 kB / 463.2 MB, free: 7.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 2.374e-06/0.5073, allocations: 4 kB / 463.2 MB, free: 7.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.003092/0.5104, allocations: 0.6334 MB / 463.9 MB, free: 7.176 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.789e-05/0.5106, allocations: 106.8 kB / 464 MB, free: 7.047 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004288/0.511, allocations: 245.6 kB / 464.2 MB, free: 6.801 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/0.5111, allocations: 33.7 kB / 464.2 MB, free: 6.762 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.5112, allocations: 226.5 kB / 464.5 MB, free: 6.539 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.227e-05/0.5113, allocations: 59.11 kB / 464.5 MB, free: 6.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.5114, allocations: 4 kB / 464.5 MB, free: 6.477 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5115, allocations: 322.8 kB / 464.8 MB, free: 6.152 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005876/0.5121, allocations: 116.2 kB / 465 MB, free: 6.035 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006471/0.5128, allocations: 188.2 kB / 465.1 MB, free: 5.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000634/0.5134, allocations: 148.3 kB / 465.3 MB, free: 5.672 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.5135, allocations: 11.95 kB / 465.3 MB, free: 5.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001778/0.5152, allocations: 432.8 kB / 465.7 MB, free: 5.223 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003154/0.5156, allocations: 0.6416 MB / 466.4 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.5156, allocations: 4 kB / 466.4 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003994/0.516, allocations: 56.8 kB / 466.4 MB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/0.5166, allocations: 71.89 kB / 466.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000755/0.5173, allocations: 0.5874 MB / 467.1 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006065/0.518, allocations: 55.78 kB / 467.1 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/0.518, allocations: 15.98 kB / 467.1 MB, free: 3.711 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.5181, allocations: 4 kB / 467.1 MB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001283/0.5193, allocations: 327.3 kB / 467.5 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.5194, allocations: 0 / 467.5 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001227/0.5195, allocations: 32.73 kB / 467.5 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005076/0.52, allocations: 63.89 kB / 467.6 MB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.5215, allocations: 1.393 MB / 469 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004788/0.5221, allocations: 52.03 kB / 469 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.5221, allocations: 8 kB / 469 MB, free: 1.695 MB / 346.7 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 ($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 (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.0002951/0.5224, allocations: 220.5 kB / 469.2 MB, free: 1.473 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.707e-05/0.5225, allocations: 27.81 kB / 469.3 MB, free: 1.445 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.596e-05/0.5226, allocations: 30.25 kB / 469.3 MB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.5226, allocations: 11.98 kB / 469.3 MB, free: 1.402 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5226, allocations: 0 / 469.3 MB, free: 1.402 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.5227, allocations: 3.984 kB / 469.3 MB, free: 1.398 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/0.5249, allocations: 0.7588 MB / 470.1 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.525, allocations: 0 / 470.1 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004661/0.5254, allocations: 51.98 kB / 470.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003051/0.5258, allocations: 52.83 kB / 470.2 MB, free: 484 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.5258, allocations: 3.984 kB / 470.2 MB, free: 480 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002444/0.5283, allocations: 1.503 MB / 471.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.5283, allocations: 3.953 kB / 471.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/0.5307, allocations: 0.5867 MB / 472.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.5309, allocations: 104.8 kB / 472.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.053e-05/0.531, allocations: 3.984 kB / 472.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004952/0.5315, allocations: 44.03 kB / 472.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.5316, allocations: 20.25 kB / 472.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.5316, allocations: 11.98 kB / 472.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003074/0.532, allocations: 186 kB / 472.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.532, allocations: 8 kB / 472.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000801/0.5328, allocations: 131.7 kB / 472.8 MB, free: 13.7 MB / 362.7 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 (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.0002164/0.533, allocations: 115.1 kB / 472.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002296/0.5353, allocations: 0.6429 MB / 473.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.5354, allocations: 128 / 473.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007918/0.5362, allocations: 254.5 kB / 473.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005258/0.5367, allocations: 46.97 kB / 473.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.5385, allocations: 0.6844 MB / 474.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.5389, allocations: 0.7641 MB / 475.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.5391, allocations: 23.44 kB / 475.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of SimCode: time 1.392e-06/0.5391, allocations: 0 / 475.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of Templates: time 0.01023/0.5493, allocations: 4.363 MB / 479.6 MB, free: 6.711 MB / 362.7 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