Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [: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 trunk/package.mo): time 0.001251/0.001251, allocations: 192.4 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 225.5 MB / 234.4 MB, free: 3.41 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009089/0.0009089, allocations: 89.52 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.727e-06/8.827e-06, allocations: 4 kB / 343.1 MB, free: 8.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1156, allocations: 51.47 MB / 394.6 MB, free: 5.211 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3137/0.4294, allocations: 80.93 MB / 475.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/0.4297, allocations: 84.72 kB / 475.6 MB, free: 11.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01925/0.449, allocations: 5.408 MB / 481 MB, free: 7.758 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.548e-05/0.4491, allocations: 8 kB / 481 MB, free: 7.75 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001085/0.4502, allocations: 0.5767 MB / 481.6 MB, free: 7.148 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.4502, allocations: 8.031 kB / 481.6 MB, free: 7.141 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002803/0.4505, allocations: 47.53 kB / 481.7 MB, free: 7.094 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004974/0.451, allocations: 304.8 kB / 482 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.4511, allocations: 12 kB / 482 MB, free: 6.785 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.093e-05/0.4511, allocations: 16 kB / 482 MB, free: 6.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005571/0.4517, allocations: 203.2 kB / 482.2 MB, free: 6.656 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005983/0.4523, allocations: 278.2 kB / 482.5 MB, free: 6.449 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.4523, allocations: 0 / 482.5 MB, free: 6.449 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.4524, allocations: 0 / 482.5 MB, free: 6.449 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.4524, allocations: 15.89 kB / 482.5 MB, free: 6.434 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002601/0.455, allocations: 1.228 MB / 483.7 MB, free: 5.383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.4554, allocations: 140.5 kB / 483.9 MB, free: 5.281 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.4556, allocations: 88.08 kB / 483.9 MB, free: 5.219 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.4557, allocations: 0 / 483.9 MB, free: 5.219 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.4557, allocations: 41.86 kB / 484 MB, free: 5.172 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.114e-06/0.4557, allocations: 0 / 484 MB, free: 5.172 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.000897/0.4566, allocations: 250.9 kB / 484.2 MB, free: 4.961 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.4567, allocations: 55.41 kB / 484.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.457, allocations: 227.1 kB / 484.5 MB, free: 4.715 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.457, allocations: 25.7 kB / 484.5 MB, free: 4.684 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.311e-05/0.4571, allocations: 196.1 kB / 484.7 MB, free: 4.504 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.4571, allocations: 52.88 kB / 484.8 MB, free: 4.457 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.488e-05/0.4572, allocations: 0 / 484.8 MB, free: 4.457 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.144e-05/0.4572, allocations: 332.6 kB / 485.1 MB, free: 4.133 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.4574, allocations: 53.73 kB / 485.1 MB, free: 4.102 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.4575, allocations: 134.8 kB / 485.3 MB, free: 3.965 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.4577, allocations: 70.27 kB / 485.3 MB, free: 3.926 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.4577, allocations: 0 / 485.3 MB, free: 3.926 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000958/0.4587, allocations: 331.2 kB / 485.7 MB, free: 3.652 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.4587, allocations: 4 kB / 485.7 MB, free: 3.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.4587, allocations: 4 kB / 485.7 MB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003182/0.4591, allocations: 76.19 kB / 485.8 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.4593, allocations: 47.73 kB / 485.8 MB, free: 3.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/0.4615, allocations: 1.71 MB / 487.5 MB, free: 1.891 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.4619, allocations: 31.69 kB / 487.5 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.4619, allocations: 11.98 kB / 487.5 MB, free: 1.848 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: add.opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.462, allocations: 118.2 kB / 487.7 MB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.56e-05/0.4622, allocations: 27.62 kB / 487.7 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.556e-05/0.4622, allocations: 21.27 kB / 487.7 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.4622, allocations: 4 kB / 487.7 MB, free: 1.688 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.4622, allocations: 0 / 487.7 MB, free: 1.688 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.4623, allocations: 0 / 487.7 MB, free: 1.688 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.4635, allocations: 0.6231 MB / 488.3 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4636, allocations: 0 / 488.3 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.4637, allocations: 15.98 kB / 488.4 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002524/0.464, allocations: 64.06 kB / 488.4 MB, free: 1.066 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.464, allocations: 7.984 kB / 488.4 MB, free: 1.059 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/0.4662, allocations: 1.711 MB / 490.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.4662, allocations: 3.906 kB / 490.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008241/0.4671, allocations: 350.1 kB / 490.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.481e-05/0.4672, allocations: 96.86 kB / 490.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.085e-05/0.4672, allocations: 3.906 kB / 490.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/0.4676, allocations: 27.97 kB / 490.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.4677, allocations: 7.984 kB / 490.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.4677, allocations: 5.125 kB / 490.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002295/0.4679, allocations: 179.8 kB / 490.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007806/0.4687, allocations: 83.69 kB / 490.9 MB, free: 14.72 MB / 362.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001812/0.4689, allocations: 95.25 kB / 491 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006184/0.4695, allocations: 262.2 kB / 491.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4696, allocations: 0 / 491.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003062/0.4699, allocations: 183 kB / 491.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.4703, allocations: 32.92 kB / 491.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.4715, allocations: 352.3 kB / 491.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004445/0.472, allocations: 0.8021 MB / 492.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.472, allocations: 0 / 492.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of Templates: time 0.009412/0.4814, allocations: 3.058 MB / 495.6 MB, free: 10.07 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches