Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") [: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.001663/0.001663, allocations: 187.7 kB / 8.153 MB, free: 2.184 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.701/1.701, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001246/0.001245, allocations: 93.92 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.133e-05/1.135e-05, allocations: 4 kB / 314.3 MB, free: 9.035 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2631, allocations: 47.55 MB / 361.8 MB, free: 45.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1569/0.4201, allocations: 78.3 MB / 440.1 MB, free: 7.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/0.4205, allocations: 82.02 kB / 440.2 MB, free: 7.672 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.02781/0.4483, allocations: 5.41 MB / 445.6 MB, free: 2.289 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.611e-05/0.4484, allocations: 7.938 kB / 445.6 MB, free: 2.281 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001532/0.4499, allocations: 0.5874 MB / 446.2 MB, free: 1.648 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.45, allocations: 8.031 kB / 446.2 MB, free: 1.641 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.4501, allocations: 31.62 kB / 446.3 MB, free: 1.609 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005162/0.4506, allocations: 263 kB / 446.5 MB, free: 1.312 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.4507, allocations: 11.98 kB / 446.5 MB, free: 1.301 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/0.4507, allocations: 16 kB / 446.6 MB, free: 1.285 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005304/0.4513, allocations: 148.9 kB / 446.7 MB, free: 1.141 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/0.4518, allocations: 170.4 kB / 446.9 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4518, allocations: 0 / 446.9 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.4519, allocations: 0 / 446.9 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.4519, allocations: 8 kB / 446.9 MB, free: 0.957 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002663/0.4545, allocations: 0.8919 MB / 447.8 MB, free: 0 / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005669/0.4552, allocations: 145.3 kB / 447.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.4553, allocations: 56.84 kB / 448 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.4554, allocations: 0 / 448 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000274/0.4557, allocations: 130.1 kB / 448.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.924e-06/0.4557, allocations: 0 / 448.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008995/0.4566, allocations: 203.1 kB / 448.3 MB, free: 15.44 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/0.4567, allocations: 106.8 kB / 448.4 MB, free: 15.31 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003696/0.4571, allocations: 216.1 kB / 448.6 MB, free: 15.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.4571, allocations: 25.7 kB / 448.6 MB, free: 15.06 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.4573, allocations: 220.4 kB / 448.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.046e-05/0.4573, allocations: 47.36 kB / 448.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/0.4574, allocations: 3.938 kB / 448.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.4575, allocations: 318.8 kB / 449.2 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.4577, allocations: 48 kB / 449.3 MB, free: 14.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.458, allocations: 129.4 kB / 449.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.4582, allocations: 58.86 kB / 449.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.4582, allocations: 0 / 449.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009852/0.4592, allocations: 270.3 kB / 449.7 MB, free: 13.94 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003477/0.4595, allocations: 0.7859 MB / 450.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.4596, allocations: 4 kB / 450.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002754/0.4598, allocations: 48.83 kB / 450.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/0.4603, allocations: 51.91 kB / 450.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.4615, allocations: 0.6694 MB / 451.3 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005813/0.4621, allocations: 52.88 kB / 451.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/0.4622, allocations: 11.98 kB / 451.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.4622, allocations: 4 kB / 451.3 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006063/0.4628, allocations: 176.1 kB / 451.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4628, allocations: 0 / 451.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001682/0.463, allocations: 40.83 kB / 451.5 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.4635, allocations: 56.66 kB / 451.6 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.4654, allocations: 1.471 MB / 453.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004991/0.4659, allocations: 48.42 kB / 453.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.4659, allocations: 8 kB / 453.1 MB, free: 10.31 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.4661, allocations: 37 kB / 453.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-05/0.4662, allocations: 23.72 kB / 453.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.376e-05/0.4663, allocations: 21.77 kB / 453.2 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.4663, allocations: 4 kB / 453.2 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4663, allocations: 2.625 kB / 453.2 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.4663, allocations: 7.938 kB / 453.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003592/0.4667, allocations: 269.8 kB / 453.5 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4667, allocations: 0 / 453.5 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.467, allocations: 27.97 kB / 453.5 MB, free: 9.891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002393/0.4673, allocations: 44.84 kB / 453.5 MB, free: 9.844 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.4673, allocations: 3.984 kB / 453.6 MB, free: 9.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00222/0.4695, allocations: 1.537 MB / 455.1 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.4696, allocations: 3.938 kB / 455.1 MB, free: 8.184 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008166/0.4704, allocations: 249.8 kB / 455.3 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.4705, allocations: 96.84 kB / 455.4 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.186e-05/0.4706, allocations: 11.91 kB / 455.4 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004944/0.4711, allocations: 43.95 kB / 455.5 MB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.431e-05/0.4712, allocations: 11.98 kB / 455.5 MB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.4712, allocations: 7.984 kB / 455.5 MB, free: 7.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002499/0.4715, allocations: 160.5 kB / 455.7 MB, free: 7.578 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007227/0.4722, allocations: 115.7 kB / 455.8 MB, free: 7.465 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 (9): * Single equations (assignments): 6 * 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.0002145/0.4725, allocations: 111 kB / 455.9 MB, free: 7.348 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.474, allocations: 451.3 kB / 456.3 MB, free: 6.887 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.474, allocations: 4 kB / 456.3 MB, free: 6.883 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003979/0.4744, allocations: 170.8 kB / 456.5 MB, free: 6.707 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.4749, allocations: 40.73 kB / 456.5 MB, free: 6.668 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003707/0.4786, allocations: 0.7065 MB / 457.2 MB, free: 5.922 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004888/0.4791, allocations: 0.7708 MB / 458 MB, free: 5.129 MB / 346.7 MB Notification: Performance of SimCode: time 1.723e-06/0.4792, allocations: 0 / 458 MB, free: 5.129 MB / 346.7 MB Notification: Performance of Templates: time 0.01023/0.4894, allocations: 3.952 MB / 462 MB, free: 1.195 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmp/NonInvertingAmp.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches