Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 187.6 kB / 8.136 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 221.4 MB / 229.9 MB, free: 3.074 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008877/0.0008875, allocations: 99.56 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.055e-05/1.058e-05, allocations: 4 kB / 336.5 MB, free: 9.492 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1941, allocations: 50.39 MB / 386.9 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08456/0.2787, allocations: 80.11 MB / 467 MB, free: 6.656 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.279, allocations: 83.89 kB / 467.1 MB, free: 6.574 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01382/0.2928, allocations: 5.327 MB / 472.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.798e-05/0.2928, allocations: 4 kB / 472.4 MB, free: 1.262 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.0007781/0.2936, allocations: 0.5762 MB / 473 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2937, allocations: 8.031 kB / 473 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.931e-05/0.2938, allocations: 39.53 kB / 473.1 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.2942, allocations: 299.3 kB / 473.4 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.2942, allocations: 12 kB / 473.4 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.2942, allocations: 22.09 kB / 473.4 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003887/0.2946, allocations: 201.3 kB / 473.6 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004551/0.2951, allocations: 271.8 kB / 473.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.2951, allocations: 3.938 kB / 473.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.2952, allocations: 3.938 kB / 473.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.2952, allocations: 8 kB / 473.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.2971, allocations: 1.217 MB / 475.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.2974, allocations: 153.1 kB / 475.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.2976, allocations: 88.84 kB / 475.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.2976, allocations: 0 / 475.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.2977, allocations: 38.56 kB / 475.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.2977, allocations: 0 / 475.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006623/0.2983, allocations: 242.4 kB / 475.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.2984, allocations: 63.34 kB / 475.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.2986, allocations: 221 kB / 475.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.2986, allocations: 25.7 kB / 475.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.084e-05/0.2987, allocations: 203.4 kB / 476.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.2988, allocations: 51.2 kB / 476.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.138e-06/0.2988, allocations: 0 / 476.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.2989, allocations: 338.8 kB / 476.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.82e-05/0.299, allocations: 48 kB / 476.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.2991, allocations: 126.3 kB / 476.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.2992, allocations: 71.92 kB / 476.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2992, allocations: 0 / 476.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006543/0.2999, allocations: 333.2 kB / 477 MB, free: 12.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.2999, allocations: 4 kB / 477 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.2999, allocations: 12.05 kB / 477.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002467/0.3002, allocations: 65.39 kB / 477.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.3004, allocations: 44.61 kB / 477.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.3022, allocations: 1.714 MB / 478.9 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.3024, allocations: 35.67 kB / 478.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.3024, allocations: 8.562 kB / 478.9 MB, free: 10.39 MB / 362.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.0001201/0.3026, allocations: 117 kB / 479 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/0.3026, allocations: 24.41 kB / 479.1 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.3027, allocations: 26.61 kB / 479.1 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3027, allocations: 7.938 kB / 479.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.3027, allocations: 0 / 479.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3027, allocations: 0 / 479.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008919/0.3036, allocations: 0.6245 MB / 479.7 MB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3036, allocations: 1.75 kB / 479.7 MB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.04e-05/0.3037, allocations: 15.98 kB / 479.7 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001761/0.3039, allocations: 60.83 kB / 479.8 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.3039, allocations: 8 kB / 479.8 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/0.3055, allocations: 1.706 MB / 481.5 MB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3056, allocations: 0 / 481.5 MB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005796/0.3061, allocations: 347.5 kB / 481.8 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.098e-05/0.3062, allocations: 104.8 kB / 481.9 MB, free: 7.156 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.3063, allocations: 3.906 kB / 482 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.3065, allocations: 27.98 kB / 482 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.3065, allocations: 11.92 kB / 482 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.3066, allocations: 5.125 kB / 482 MB, free: 7.109 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001479/0.3067, allocations: 173.2 kB / 482.2 MB, free: 6.941 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004321/0.3071, allocations: 83.69 kB / 482.2 MB, free: 6.859 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.0001094/0.3073, allocations: 103.2 kB / 482.3 MB, free: 6.746 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004098/0.3077, allocations: 258 kB / 482.6 MB, free: 6.484 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3077, allocations: 4 kB / 482.6 MB, free: 6.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.3079, allocations: 169.8 kB / 482.8 MB, free: 6.305 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.3082, allocations: 37.84 kB / 482.8 MB, free: 6.273 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008577/0.3091, allocations: 357.6 kB / 483.2 MB, free: 5.898 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003179/0.3094, allocations: 0.7984 MB / 484 MB, free: 5.07 MB / 362.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3094, allocations: 4 kB / 484 MB, free: 5.066 MB / 362.7 MB Notification: Performance of Templates: time 0.006004/0.3154, allocations: 3.046 MB / 487 MB, free: 2.062 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches