Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001064/0.001065, allocations: 178.8 kB / 8.13 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.198/1.198, allocations: 221.4 MB / 229.9 MB, free: 3.004 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.001084/0.001084, allocations: 101.8 kB / 280.8 MB, free: 1.215 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.883e-06/6.903e-06, allocations: 0 / 336.5 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1814, allocations: 50.4 MB / 386.9 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08364/0.2651, allocations: 79.96 MB / 466.9 MB, free: 6.805 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.2653, allocations: 87.89 kB / 467 MB, free: 6.719 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01657/0.2819, allocations: 5.574 MB / 472.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.2819, allocations: 8 kB / 472.6 MB, free: 1.148 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.0008738/0.2828, allocations: 0.571 MB / 473.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2829, allocations: 16.02 kB / 473.1 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.827e-05/0.2829, allocations: 27.62 kB / 473.2 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.2833, allocations: 274.9 kB / 473.4 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.2833, allocations: 8 kB / 473.4 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.2833, allocations: 12 kB / 473.5 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002703/0.2836, allocations: 140.9 kB / 473.6 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.284, allocations: 193.1 kB / 473.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.284, allocations: 0 / 473.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.284, allocations: 4 kB / 473.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.284, allocations: 4 kB / 473.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.2857, allocations: 0.9994 MB / 474.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.286, allocations: 122.7 kB / 474.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.638e-05/0.2861, allocations: 53.48 kB / 475 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.2862, allocations: 4 kB / 475 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.2863, allocations: 125.9 kB / 475.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.2863, allocations: 0 / 475.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005831/0.2869, allocations: 210.2 kB / 475.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.287, allocations: 106.8 kB / 475.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.2872, allocations: 220.2 kB / 475.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.2872, allocations: 25.7 kB / 475.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.511e-05/0.2873, allocations: 155.9 kB / 475.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.2874, allocations: 47.39 kB / 475.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.2874, allocations: 0 / 475.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2875, allocations: 330.7 kB / 476.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.911e-05/0.2876, allocations: 51.98 kB / 476.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.2878, allocations: 117.3 kB / 476.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.889e-05/0.2879, allocations: 51.97 kB / 476.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2879, allocations: 4.031 kB / 476.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006502/0.2885, allocations: 281.4 kB / 476.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.2886, allocations: 4 kB / 476.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2886, allocations: 0 / 476.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001867/0.2888, allocations: 45.75 kB / 476.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.289, allocations: 61.3 kB / 476.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.2904, allocations: 1.43 MB / 478.2 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.2908, allocations: 56.47 kB / 478.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.2908, allocations: 12.06 kB / 478.3 MB, free: 11.04 MB / 362.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.0001204/0.2909, allocations: 112.9 kB / 478.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.291, allocations: 27.72 kB / 478.4 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.83e-05/0.291, allocations: 17.78 kB / 478.4 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.291, allocations: 8.203 kB / 478.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.291, allocations: 3.938 kB / 478.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.291, allocations: 3.938 kB / 478.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.2913, allocations: 251.2 kB / 478.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2913, allocations: 0 / 478.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.2914, allocations: 35.97 kB / 478.7 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000114/0.2916, allocations: 37.41 kB / 478.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.2916, allocations: 8 kB / 478.8 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.2929, allocations: 1.425 MB / 480.2 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.2929, allocations: 7.969 kB / 480.2 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005229/0.2934, allocations: 251 kB / 480.4 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/0.2935, allocations: 96.77 kB / 480.5 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/0.2936, allocations: 16.55 kB / 480.5 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.2938, allocations: 39.97 kB / 480.6 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.2939, allocations: 19.97 kB / 480.6 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.2939, allocations: 0 / 480.6 MB, free: 8.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001366/0.2941, allocations: 168.5 kB / 480.8 MB, free: 8.336 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003011/0.2944, allocations: 63.84 kB / 480.8 MB, free: 8.273 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.0001246/0.2945, allocations: 106 kB / 480.9 MB, free: 8.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004018/0.2949, allocations: 271.2 kB / 481.2 MB, free: 7.879 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2949, allocations: 0 / 481.2 MB, free: 7.879 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.2952, allocations: 165.8 kB / 481.4 MB, free: 7.707 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.2954, allocations: 39.78 kB / 481.4 MB, free: 7.668 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000588/0.296, allocations: 264.9 kB / 481.7 MB, free: 7.383 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/0.2964, allocations: 0.7787 MB / 482.4 MB, free: 6.578 MB / 362.7 MB Notification: Performance of SimCode: time 4.1e-07/0.2964, allocations: 0 / 482.4 MB, free: 6.578 MB / 362.7 MB Notification: Performance of Templates: time 0.006563/0.3029, allocations: 3.266 MB / 485.7 MB, free: 3.375 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches