Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [: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.001558/0.001557, allocations: 183.7 kB / 8.133 MB, free: 2.09 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.377/1.377, allocations: 221.4 MB / 229.9 MB, free: 3.02 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.0008903/0.0008903, allocations: 97.2 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.216e-05/1.227e-05, allocations: 4 kB / 336.5 MB, free: 9.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2589, allocations: 50.39 MB / 386.9 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1096/0.3685, allocations: 80.37 MB / 467.3 MB, free: 6.508 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.3688, allocations: 83.61 kB / 467.4 MB, free: 6.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02559/0.3944, allocations: 6.183 MB / 473.6 MB, free: 260 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.3945, allocations: 8.75 kB / 473.6 MB, free: 252 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001378/0.3958, allocations: 0.5996 MB / 474.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3959, allocations: 8.031 kB / 474.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.396, allocations: 39.53 kB / 474.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005376/0.3966, allocations: 294.9 kB / 474.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.3966, allocations: 9.188 kB / 474.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.3967, allocations: 16 kB / 474.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000574/0.3973, allocations: 177 kB / 474.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006076/0.3979, allocations: 236.1 kB / 474.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3979, allocations: 3.984 kB / 474.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.398, allocations: 4 kB / 474.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.398, allocations: 8 kB / 475 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.3998, allocations: 1.138 MB / 476.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.4001, allocations: 138.6 kB / 476.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.4003, allocations: 60.84 kB / 476.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.4003, allocations: 4 kB / 476.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.4005, allocations: 119.4 kB / 476.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.4005, allocations: 8 kB / 476.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006063/0.4011, allocations: 232 kB / 476.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.4012, allocations: 106.8 kB / 476.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.4014, allocations: 233 kB / 477 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.4014, allocations: 29.7 kB / 477 MB, free: 12.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.4015, allocations: 187.5 kB / 477.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.4016, allocations: 39.45 kB / 477.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.158e-05/0.4016, allocations: 0 / 477.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4017, allocations: 326.8 kB / 477.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.4018, allocations: 64.22 kB / 477.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.402, allocations: 153.1 kB / 477.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.4021, allocations: 73.05 kB / 477.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4021, allocations: 0 / 477.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006694/0.4028, allocations: 328.3 kB / 478.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.4028, allocations: 4 kB / 478.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.4029, allocations: 4.656 kB / 478.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002066/0.4031, allocations: 56.83 kB / 478.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.4033, allocations: 55.94 kB / 478.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/0.4049, allocations: 1.585 MB / 479.8 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003526/0.4053, allocations: 60.67 kB / 479.9 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.4053, allocations: 8 kB / 479.9 MB, free: 9.477 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: buffer.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: 13 * 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 (24): * Single equations (assignments): 22 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001405/0.4055, allocations: 121.6 kB / 480 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.4055, allocations: 23.72 kB / 480.1 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.897e-05/0.4056, allocations: 25.92 kB / 480.1 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4056, allocations: 0 / 480.1 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.4056, allocations: 11.94 kB / 480.1 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.4056, allocations: 128 / 480.1 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.4059, allocations: 286.9 kB / 480.4 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4059, allocations: 0 / 480.4 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.4061, allocations: 35.98 kB / 480.4 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001303/0.4062, allocations: 44.83 kB / 480.5 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.4062, allocations: 4 kB / 480.5 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/0.4077, allocations: 1.568 MB / 482 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.4078, allocations: 8.047 kB / 482 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005557/0.4083, allocations: 257.7 kB / 482.3 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.526e-05/0.4084, allocations: 100.8 kB / 482.4 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/0.4085, allocations: 3.984 kB / 482.4 MB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.4088, allocations: 55.81 kB / 482.4 MB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/0.4088, allocations: 15.97 kB / 482.5 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.4089, allocations: 8.125 kB / 482.5 MB, free: 6.723 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001653/0.409, allocations: 181.2 kB / 482.6 MB, free: 6.547 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004057/0.4094, allocations: 67.84 kB / 482.7 MB, free: 6.48 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: 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001413/0.4096, allocations: 103.2 kB / 482.8 MB, free: 6.367 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005021/0.4101, allocations: 291.5 kB / 483.1 MB, free: 6.066 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4101, allocations: 0 / 483.1 MB, free: 6.066 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.4104, allocations: 173.6 kB / 483.3 MB, free: 5.887 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.4106, allocations: 43.98 kB / 483.3 MB, free: 5.844 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.4135, allocations: 0.8522 MB / 484.2 MB, free: 4.973 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003908/0.4139, allocations: 0.7818 MB / 484.9 MB, free: 4.168 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4139, allocations: 0 / 484.9 MB, free: 4.168 MB / 362.7 MB Notification: Performance of Templates: time 0.007975/0.4219, allocations: 3.528 MB / 488.5 MB, free: 0.6953 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches