Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [: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.001022/0.001022, allocations: 195.2 kB / 8.535 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.311/1.311, allocations: 225.5 MB / 234.4 MB, free: 3.395 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008559/0.0008559, allocations: 93.77 kB / 286.3 MB, free: 5.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.724e-06/7.764e-06, allocations: 4 kB / 343.1 MB, free: 8.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08852/0.08854, allocations: 51.48 MB / 394.6 MB, free: 5.199 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2336/0.3222, allocations: 80.75 MB / 475.4 MB, free: 11.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.3224, allocations: 77.16 kB / 475.4 MB, free: 11.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01436/0.3368, allocations: 5.605 MB / 481.1 MB, free: 7.715 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.3368, allocations: 8 kB / 481.1 MB, free: 7.707 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007745/0.3376, allocations: 0.5819 MB / 481.6 MB, free: 7.098 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.3377, allocations: 16.02 kB / 481.7 MB, free: 7.082 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.3377, allocations: 27.62 kB / 481.7 MB, free: 7.055 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.3381, allocations: 271 kB / 482 MB, free: 6.773 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.3381, allocations: 8 kB / 482 MB, free: 6.766 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.3381, allocations: 12 kB / 482 MB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000253/0.3384, allocations: 142.8 kB / 482.1 MB, free: 6.672 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.3387, allocations: 200.2 kB / 482.3 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3387, allocations: 0 / 482.3 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.3387, allocations: 0 / 482.3 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3387, allocations: 8 kB / 482.3 MB, free: 6.504 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.3401, allocations: 0.9781 MB / 483.3 MB, free: 5.602 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.3404, allocations: 128.4 kB / 483.4 MB, free: 5.508 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.625e-05/0.3405, allocations: 54.86 kB / 483.5 MB, free: 5.473 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.3405, allocations: 5.062 kB / 483.5 MB, free: 5.469 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.3406, allocations: 117.7 kB / 483.6 MB, free: 5.355 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.3407, allocations: 4 kB / 483.6 MB, free: 5.352 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005599/0.3412, allocations: 216.8 kB / 483.8 MB, free: 5.164 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.3413, allocations: 105.8 kB / 483.9 MB, free: 5.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.3414, allocations: 219.5 kB / 484.1 MB, free: 4.852 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.3415, allocations: 29.52 kB / 484.2 MB, free: 4.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.852e-05/0.3415, allocations: 159.9 kB / 484.3 MB, free: 4.672 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.3416, allocations: 38.52 kB / 484.3 MB, free: 4.637 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.096e-05/0.3416, allocations: 0 / 484.3 MB, free: 4.637 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.687e-05/0.3416, allocations: 341 kB / 484.7 MB, free: 4.305 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.232e-05/0.3417, allocations: 48.44 kB / 484.7 MB, free: 4.277 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.3418, allocations: 118.8 kB / 484.8 MB, free: 4.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.342, allocations: 48.83 kB / 484.9 MB, free: 4.133 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.342, allocations: 4 kB / 484.9 MB, free: 4.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005497/0.3425, allocations: 280 kB / 485.2 MB, free: 3.891 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.3425, allocations: 4 kB / 485.2 MB, free: 3.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3426, allocations: 4 kB / 485.2 MB, free: 3.883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001829/0.3427, allocations: 51.61 kB / 485.2 MB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.343, allocations: 43.97 kB / 485.3 MB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.3441, allocations: 1.43 MB / 486.7 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.3444, allocations: 59.77 kB / 486.8 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.3444, allocations: 11.44 kB / 486.8 MB, free: 2.273 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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: 8 * 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 (19): * Single equations (assignments): 17 * 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.0001094/0.3446, allocations: 113.1 kB / 486.9 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.3446, allocations: 23.72 kB / 486.9 MB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.809e-05/0.3446, allocations: 28.83 kB / 486.9 MB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3447, allocations: 5.688 kB / 486.9 MB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.3447, allocations: 4 kB / 486.9 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3447, allocations: 0 / 486.9 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.3448, allocations: 256.2 kB / 487.2 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3448, allocations: 0 / 487.2 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.345, allocations: 31.98 kB / 487.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001032/0.3451, allocations: 43.33 kB / 487.3 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.3451, allocations: 0 / 487.3 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009991/0.3461, allocations: 1.435 MB / 488.7 MB, free: 344 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3462, allocations: 4.062 kB / 488.7 MB, free: 340 kB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004534/0.3466, allocations: 244.4 kB / 488.9 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.3467, allocations: 94.98 kB / 489 MB, free: 0 / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.3467, allocations: 0.5156 kB / 489 MB, free: 0 / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.347, allocations: 55.86 kB / 489.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.3471, allocations: 15.03 kB / 489.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.3471, allocations: 8.625 kB / 489.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.00014/0.3473, allocations: 164.1 kB / 489.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002995/0.3476, allocations: 63.84 kB / 489.3 MB, free: 15.73 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.0001578/0.3477, allocations: 106.4 kB / 489.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004225/0.3482, allocations: 264.2 kB / 489.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3482, allocations: 4 kB / 489.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.3484, allocations: 169.3 kB / 489.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.3486, allocations: 30.8 kB / 489.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006232/0.3493, allocations: 272 kB / 490.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003477/0.3496, allocations: 0.7776 MB / 490.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3496, allocations: 0 / 490.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of Templates: time 0.006343/0.356, allocations: 3.236 MB / 494.2 MB, free: 11.01 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches