Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp.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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001621/0.001621, allocations: 177.5 kB / 8.152 MB, free: 2.129 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.001211/0.001211, allocations: 89.95 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.003e-05/1.016e-05, allocations: 0 / 314.3 MB, free: 9.051 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2852, allocations: 47.56 MB / 361.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.4096, allocations: 77.51 MB / 439.3 MB, free: 8.543 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/0.41, allocations: 77.83 kB / 439.4 MB, free: 8.469 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.0277/0.4377, allocations: 5.491 MB / 444.9 MB, free: 3.008 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.298e-05/0.4377, allocations: 4 kB / 444.9 MB, free: 3.004 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001649/0.4394, allocations: 0.583 MB / 445.5 MB, free: 2.367 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.4395, allocations: 12.03 kB / 445.5 MB, free: 2.355 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.4396, allocations: 35.56 kB / 445.5 MB, free: 2.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.4401, allocations: 267.5 kB / 445.8 MB, free: 2.016 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.4402, allocations: 4 kB / 445.8 MB, free: 2.012 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-05/0.4402, allocations: 20 kB / 445.8 MB, free: 1.992 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005969/0.4408, allocations: 157 kB / 446 MB, free: 1.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006175/0.4415, allocations: 225.5 kB / 446.2 MB, free: 1.609 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.4415, allocations: 0 / 446.2 MB, free: 1.609 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/0.4416, allocations: 0 / 446.2 MB, free: 1.609 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.4416, allocations: 8 kB / 446.2 MB, free: 1.602 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00297/0.4446, allocations: 1.064 MB / 447.3 MB, free: 472 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005588/0.4452, allocations: 122.7 kB / 447.4 MB, free: 340 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.4454, allocations: 56.86 kB / 447.5 MB, free: 280 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.4454, allocations: 3.906 kB / 447.5 MB, free: 276 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002626/0.4457, allocations: 122.1 kB / 447.6 MB, free: 132 kB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 2.815e-06/0.4457, allocations: 1.125 kB / 447.6 MB, free: 132 kB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.00105/0.4468, allocations: 190.2 kB / 447.8 MB, free: 15.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/0.4469, allocations: 102.8 kB / 447.9 MB, free: 15.81 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003873/0.4473, allocations: 220.2 kB / 448.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.4473, allocations: 25.7 kB / 448.1 MB, free: 15.56 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.4475, allocations: 242 kB / 448.3 MB, free: 15.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.331e-05/0.4476, allocations: 39.39 kB / 448.4 MB, free: 15.28 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/0.4476, allocations: 4 kB / 448.4 MB, free: 15.28 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4477, allocations: 322.8 kB / 448.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.4479, allocations: 52.23 kB / 448.8 MB, free: 14.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.4482, allocations: 164.6 kB / 448.9 MB, free: 14.69 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.4485, allocations: 63.05 kB / 449 MB, free: 14.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.4485, allocations: 11.41 kB / 449 MB, free: 14.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001181/0.4497, allocations: 258.4 kB / 449.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.4497, allocations: 4 kB / 449.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.4497, allocations: 4 kB / 449.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002979/0.4501, allocations: 52.84 kB / 449.3 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.4505, allocations: 56 kB / 449.4 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00251/0.4531, allocations: 1.455 MB / 450.8 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006067/0.4537, allocations: 51.86 kB / 450.9 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/0.4538, allocations: 16.06 kB / 450.9 MB, free: 12.62 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 21 * 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 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.454, allocations: 41.53 kB / 450.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.958e-05/0.4541, allocations: 19.81 kB / 450.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.671e-05/0.4542, allocations: 25.61 kB / 451 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4542, allocations: 0 / 451 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4542, allocations: 8 kB / 451 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4542, allocations: 0 / 451 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.4546, allocations: 261.9 kB / 451.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4546, allocations: 0 / 451.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.4549, allocations: 35.97 kB / 451.3 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002529/0.4552, allocations: 48.83 kB / 451.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.4552, allocations: 0 / 451.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002297/0.4575, allocations: 1.435 MB / 452.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.4576, allocations: 4.062 kB / 452.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009911/0.4586, allocations: 213.5 kB / 453 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.4588, allocations: 112.8 kB / 453.1 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.238e-05/0.4589, allocations: 3.984 kB / 453.1 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005213/0.4594, allocations: 39.97 kB / 453.1 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.4595, allocations: 19.97 kB / 453.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.4596, allocations: 7.938 kB / 453.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0003114/0.4599, allocations: 168.5 kB / 453.3 MB, free: 9.992 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004979/0.4604, allocations: 71.75 kB / 453.4 MB, free: 9.922 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (7): * Single equations (assignments): 4 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.000191/0.4606, allocations: 99.25 kB / 453.5 MB, free: 9.816 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008092/0.4614, allocations: 287.4 kB / 453.7 MB, free: 9.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4615, allocations: 0 / 453.7 MB, free: 9.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003869/0.4619, allocations: 153.8 kB / 453.9 MB, free: 9.359 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.4623, allocations: 30.42 kB / 453.9 MB, free: 9.332 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.4635, allocations: 313.3 kB / 454.2 MB, free: 8.992 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005553/0.4641, allocations: 0.79 MB / 455 MB, free: 8.18 MB / 346.7 MB Notification: Performance of SimCode: time 1.492e-06/0.4641, allocations: 0 / 455 MB, free: 8.18 MB / 346.7 MB Notification: Performance of Templates: time 0.01065/0.4748, allocations: 4.192 MB / 459.2 MB, free: 4.016 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches