Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.SchmittTrigger,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.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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.00102/0.001021, allocations: 176.1 kB / 8.478 MB, free: 1.891 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.17/1.17, allocations: 205.2 MB / 214.1 MB, free: 1.812 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.0008653/0.0008654, allocations: 79.39 kB / 262.1 MB, free: 1.77 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.234e-06/7.264e-06, allocations: 4 kB / 315 MB, free: 23.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07377/0.07379, allocations: 47.58 MB / 362.6 MB, free: 7.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2101/0.2839, allocations: 78.66 MB / 441.2 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.2841, allocations: 74.7 kB / 441.3 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01603/0.3002, allocations: 5.464 MB / 446.8 MB, free: 12.17 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.3002, allocations: 12 kB / 446.8 MB, free: 12.16 MB / 330.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.0009682/0.3012, allocations: 0.5788 MB / 447.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3013, allocations: 9.156 kB / 447.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.753e-05/0.3013, allocations: 31.62 kB / 447.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.3017, allocations: 274.3 kB / 447.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.3017, allocations: 4 kB / 447.7 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.3018, allocations: 12 kB / 447.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002706/0.3021, allocations: 145.1 kB / 447.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.3023, allocations: 162.3 kB / 448 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3024, allocations: 4 kB / 448 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.3024, allocations: 0 / 448 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.3024, allocations: 4 kB / 448 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.304, allocations: 0.924 MB / 448.9 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.3043, allocations: 124.5 kB / 449 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.315e-05/0.3044, allocations: 60.11 kB / 449.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.3044, allocations: 0 / 449.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.3046, allocations: 123.4 kB / 449.2 MB, free: 9.891 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.3046, allocations: 0 / 449.2 MB, free: 9.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005852/0.3052, allocations: 214.8 kB / 449.4 MB, free: 9.703 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.3053, allocations: 110.8 kB / 449.5 MB, free: 9.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.3055, allocations: 212.4 kB / 449.7 MB, free: 9.395 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.3055, allocations: 29.92 kB / 449.8 MB, free: 9.359 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.252e-05/0.3056, allocations: 153.7 kB / 449.9 MB, free: 9.215 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.3057, allocations: 41.83 kB / 450 MB, free: 9.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.3057, allocations: 0 / 450 MB, free: 9.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3058, allocations: 336.1 kB / 450.3 MB, free: 8.852 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.988e-05/0.3059, allocations: 46.44 kB / 450.3 MB, free: 8.824 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.306, allocations: 112.3 kB / 450.4 MB, free: 8.711 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.121e-05/0.3061, allocations: 52.11 kB / 450.5 MB, free: 8.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3061, allocations: 4.031 kB / 450.5 MB, free: 8.676 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006045/0.3067, allocations: 279.6 kB / 450.8 MB, free: 8.438 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002354/0.307, allocations: 0.6181 MB / 451.4 MB, free: 7.785 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.307, allocations: 4 kB / 451.4 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001905/0.3072, allocations: 42.44 kB / 451.4 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.3074, allocations: 51.91 kB / 451.5 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004261/0.3079, allocations: 0.5786 MB / 452.1 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/0.3082, allocations: 59.86 kB / 452.1 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.3083, allocations: 15.44 kB / 452.1 MB, free: 7.047 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.113e-06/0.3083, allocations: 4 kB / 452.1 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002713/0.3086, allocations: 142.3 kB / 452.3 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.3086, allocations: 4 kB / 452.3 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.479e-05/0.3086, allocations: 27.91 kB / 452.3 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.3089, allocations: 48.16 kB / 452.3 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.3099, allocations: 1.385 MB / 453.7 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.3102, allocations: 43.92 kB / 453.8 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.3102, allocations: 15.66 kB / 453.8 MB, free: 5.363 MB / 330.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: 7 * 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 (18): * Single equations (assignments): 16 * 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.0001406/0.3104, allocations: 117.9 kB / 453.9 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.3104, allocations: 19.72 kB / 453.9 MB, free: 5.223 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.397e-05/0.3105, allocations: 26.89 kB / 454 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3105, allocations: 144 / 454 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.3105, allocations: 0 / 454 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3105, allocations: 3.984 kB / 454 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.3107, allocations: 257.7 kB / 454.2 MB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3107, allocations: 3.938 kB / 454.2 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.3109, allocations: 31.97 kB / 454.2 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001133/0.311, allocations: 43.34 kB / 454.3 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.311, allocations: 4 kB / 454.3 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/0.3123, allocations: 1.432 MB / 455.7 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3124, allocations: 0 / 455.7 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005316/0.3129, allocations: 253.2 kB / 456 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.313, allocations: 104.5 kB / 456.1 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.313, allocations: 0 / 456.1 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.3133, allocations: 39.97 kB / 456.1 MB, free: 3.031 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.3134, allocations: 19.59 kB / 456.1 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.3134, allocations: 4 kB / 456.1 MB, free: 3.012 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001355/0.3135, allocations: 168.6 kB / 456.3 MB, free: 2.883 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004805/0.314, allocations: 111.6 kB / 456.4 MB, free: 2.773 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001332/0.3142, allocations: 111.2 kB / 456.5 MB, free: 2.656 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005941/0.3148, allocations: 376.8 kB / 456.9 MB, free: 2.336 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3148, allocations: 0.75 kB / 456.9 MB, free: 2.336 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.315, allocations: 170.6 kB / 457.1 MB, free: 2.184 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.3153, allocations: 26.98 kB / 457.1 MB, free: 2.164 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006508/0.3159, allocations: 285 kB / 457.4 MB, free: 1.895 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003482/0.3163, allocations: 0.7715 MB / 458.1 MB, free: 1.098 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3163, allocations: 0 / 458.1 MB, free: 1.098 MB / 330.7 MB Notification: Performance of Templates: time 0.007826/0.3241, allocations: 4.181 MB / 462.3 MB, free: 12.92 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches