Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009844/0.0009844, allocations: 170.3 kB / 8.472 MB, free: 1.844 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.141/1.141, allocations: 205.2 MB / 214.1 MB, free: 5.074 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007852/0.0007851, allocations: 87.28 kB / 262.1 MB, free: 5.113 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.465e-06/8.506e-06, allocations: 4 kB / 315 MB, free: 41.45 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08442/0.08444, allocations: 47.56 MB / 362.5 MB, free: 9.922 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2376/0.3221, allocations: 78.29 MB / 440.8 MB, free: 10.81 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.3223, allocations: 77.08 kB / 440.9 MB, free: 10.81 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01486/0.3372, allocations: 5.422 MB / 446.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.3372, allocations: 7.75 kB / 446.3 MB, free: 10.21 MB / 314.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.0007535/0.338, allocations: 0.5784 MB / 446.9 MB, free: 9.715 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.338, allocations: 7.688 kB / 446.9 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/0.3381, allocations: 31 kB / 447 MB, free: 9.699 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.3384, allocations: 273.2 kB / 447.2 MB, free: 9.457 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.3384, allocations: 7.719 kB / 447.2 MB, free: 9.457 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.3384, allocations: 11.03 kB / 447.2 MB, free: 9.457 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002647/0.3387, allocations: 152.4 kB / 447.4 MB, free: 9.453 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.339, allocations: 163 kB / 447.6 MB, free: 9.395 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.339, allocations: 0 / 447.6 MB, free: 9.395 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.339, allocations: 0 / 447.6 MB, free: 9.395 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.339, allocations: 7.812 kB / 447.6 MB, free: 9.395 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.3403, allocations: 0.8984 MB / 448.5 MB, free: 8.809 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.3406, allocations: 147.3 kB / 448.6 MB, free: 8.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.449e-05/0.3407, allocations: 59.02 kB / 448.7 MB, free: 8.762 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.3407, allocations: 0 / 448.7 MB, free: 8.762 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.3409, allocations: 125 kB / 448.8 MB, free: 8.672 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.3409, allocations: 0.75 kB / 448.8 MB, free: 8.672 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.000446/0.3413, allocations: 206.6 kB / 449 MB, free: 8.594 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.3414, allocations: 110.7 kB / 449.1 MB, free: 8.465 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.3415, allocations: 211.5 kB / 449.3 MB, free: 8.352 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.3416, allocations: 33.58 kB / 449.3 MB, free: 8.316 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.3416, allocations: 157.1 kB / 449.5 MB, free: 8.184 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.3417, allocations: 45.83 kB / 449.5 MB, free: 8.152 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/0.3417, allocations: 3.938 kB / 449.5 MB, free: 8.148 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.015e-05/0.3417, allocations: 333.6 kB / 449.9 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.233e-05/0.3418, allocations: 49.84 kB / 449.9 MB, free: 7.824 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.3419, allocations: 125.4 kB / 450 MB, free: 7.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.803e-05/0.342, allocations: 62.78 kB / 450.1 MB, free: 7.715 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.342, allocations: 7.75 kB / 450.1 MB, free: 7.711 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004499/0.3425, allocations: 267.1 kB / 450.4 MB, free: 7.621 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.3426, allocations: 0.7936 MB / 451.2 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3426, allocations: 0 / 451.2 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001803/0.3428, allocations: 46.38 kB / 451.2 MB, free: 6.781 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.343, allocations: 54.7 kB / 451.3 MB, free: 6.766 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002917/0.3433, allocations: 0.5961 MB / 451.8 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.3436, allocations: 58.78 kB / 451.9 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.3437, allocations: 7.688 kB / 451.9 MB, free: 6.199 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.5e-06/0.3437, allocations: 3.844 kB / 451.9 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002789/0.344, allocations: 181.3 kB / 452.1 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.344, allocations: 3.812 kB / 452.1 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.713e-05/0.3441, allocations: 34.94 kB / 452.1 MB, free: 6.145 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.3442, allocations: 49.84 kB / 452.2 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008378/0.3451, allocations: 1.471 MB / 453.7 MB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.3454, allocations: 42.19 kB / 453.7 MB, free: 4.781 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.3454, allocations: 4.031 kB / 453.7 MB, free: 4.781 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.simplifiedExpr:VARIABLE(unit = "V" protected = true ) "Simplified expression for homotopy-based initialization" type: Real 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.0001073/0.3455, allocations: 126.1 kB / 453.8 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.3455, allocations: 23.48 kB / 453.8 MB, free: 4.652 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.415e-05/0.3456, allocations: 20.88 kB / 453.9 MB, free: 4.648 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3456, allocations: 8 kB / 453.9 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.3456, allocations: 3.844 kB / 453.9 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.3456, allocations: 7.969 kB / 453.9 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.3458, allocations: 260.3 kB / 454.1 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3458, allocations: 0 / 454.1 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.3459, allocations: 30.05 kB / 454.2 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001097/0.346, allocations: 45.14 kB / 454.2 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.3461, allocations: 0 / 454.2 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/0.3472, allocations: 1.537 MB / 455.7 MB, free: 19.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3472, allocations: 7.984 kB / 455.8 MB, free: 19.04 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000366/0.3476, allocations: 242.8 kB / 456 MB, free: 18.92 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/0.3476, allocations: 96.38 kB / 456.1 MB, free: 18.81 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/0.3477, allocations: 3.906 kB / 456.1 MB, free: 18.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.3479, allocations: 38.75 kB / 456.1 MB, free: 18.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.348, allocations: 22.03 kB / 456.2 MB, free: 18.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.348, allocations: 3.844 kB / 456.2 MB, free: 18.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001153/0.3481, allocations: 173.4 kB / 456.3 MB, free: 18.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004377/0.3486, allocations: 106 kB / 456.4 MB, free: 18.69 MB / 330.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.0001148/0.3487, allocations: 108.3 kB / 456.5 MB, free: 18.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005586/0.3493, allocations: 407.2 kB / 456.9 MB, free: 18.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3493, allocations: 0 / 456.9 MB, free: 18.4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.3495, allocations: 171.4 kB / 457.1 MB, free: 18.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.3497, allocations: 33.39 kB / 457.1 MB, free: 18.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.3513, allocations: 0.6854 MB / 457.8 MB, free: 17.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000344/0.3517, allocations: 0.781 MB / 458.6 MB, free: 17.24 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3517, allocations: 0 / 458.6 MB, free: 17.24 MB / 330.7 MB Notification: Performance of Templates: time 0.006665/0.3584, allocations: 4.265 MB / 462.9 MB, free: 15.13 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches