Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.InvertingSchmittTrigger,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.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,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.InvertingSchmittTrigger") [: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.0009955/0.0009955, allocations: 183.7 kB / 8.48 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.158/1.158, allocations: 205.2 MB / 214.1 MB, free: 5.102 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.0008472/0.0008473, allocations: 91.66 kB / 262.1 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.745e-06/7.765e-06, allocations: 4 kB / 315 MB, free: 41.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07164/0.07166, allocations: 47.57 MB / 362.6 MB, free: 9.953 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2111/0.2828, allocations: 78.37 MB / 440.9 MB, free: 10.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.2831, allocations: 77.78 kB / 441 MB, free: 10.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01575/0.2988, allocations: 5.476 MB / 446.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.2989, allocations: 3.781 kB / 446.5 MB, free: 10.04 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.0007953/0.2997, allocations: 0.5815 MB / 447.1 MB, free: 9.535 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.2997, allocations: 7.719 kB / 447.1 MB, free: 9.535 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.543e-05/0.2998, allocations: 31.03 kB / 447.1 MB, free: 9.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.3001, allocations: 273 kB / 447.4 MB, free: 9.281 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.3001, allocations: 11.69 kB / 447.4 MB, free: 9.277 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.3001, allocations: 12.47 kB / 447.4 MB, free: 9.277 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002526/0.3004, allocations: 143 kB / 447.5 MB, free: 9.273 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.3006, allocations: 166.9 kB / 447.7 MB, free: 9.211 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3007, allocations: 0 / 447.7 MB, free: 9.211 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.3007, allocations: 7.781 kB / 447.7 MB, free: 9.207 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3007, allocations: 3.781 kB / 447.7 MB, free: 9.207 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.3021, allocations: 0.9164 MB / 448.6 MB, free: 8.609 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.3024, allocations: 119.3 kB / 448.7 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.485e-05/0.3024, allocations: 53.61 kB / 448.8 MB, free: 8.574 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.3025, allocations: 7.281 kB / 448.8 MB, free: 8.574 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.3026, allocations: 125 kB / 448.9 MB, free: 8.477 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.3026, allocations: 0 / 448.9 MB, free: 8.477 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005625/0.3032, allocations: 221.5 kB / 449.1 MB, free: 8.395 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.3032, allocations: 113.7 kB / 449.3 MB, free: 8.266 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.3034, allocations: 206.9 kB / 449.5 MB, free: 8.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.3034, allocations: 29.7 kB / 449.5 MB, free: 8.125 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/0.3035, allocations: 171.4 kB / 449.6 MB, free: 7.984 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.3035, allocations: 33.94 kB / 449.7 MB, free: 7.957 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.139e-05/0.3036, allocations: 0 / 449.7 MB, free: 7.957 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.783e-05/0.3036, allocations: 331.3 kB / 450 MB, free: 7.637 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.488e-05/0.3037, allocations: 49.53 kB / 450.1 MB, free: 7.637 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.3038, allocations: 133.3 kB / 450.2 MB, free: 7.539 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.981e-05/0.304, allocations: 55 kB / 450.2 MB, free: 7.531 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.304, allocations: 4 kB / 450.2 MB, free: 7.527 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005718/0.3045, allocations: 283.2 kB / 450.5 MB, free: 7.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.3047, allocations: 0.793 MB / 451.3 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.3047, allocations: 0 / 451.3 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001844/0.3049, allocations: 49.28 kB / 451.4 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.3051, allocations: 46.66 kB / 451.4 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002978/0.3054, allocations: 0.5856 MB / 452 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.3057, allocations: 57.86 kB / 452 MB, free: 6.016 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.3058, allocations: 9.719 kB / 452.1 MB, free: 6.016 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.39e-06/0.3058, allocations: 3.781 kB / 452.1 MB, free: 6.016 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002581/0.306, allocations: 163.8 kB / 452.2 MB, free: 5.973 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-06/0.306, allocations: 3.906 kB / 452.2 MB, free: 5.973 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.269e-05/0.3061, allocations: 23 kB / 452.2 MB, free: 5.961 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.3063, allocations: 57.59 kB / 452.3 MB, free: 5.945 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006257/0.307, allocations: 1.26 MB / 453.6 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.3072, allocations: 47.17 kB / 453.6 MB, free: 4.676 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.3073, allocations: 11.47 kB / 453.6 MB, free: 4.676 MB / 314.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: 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.3074, allocations: 109.1 kB / 453.7 MB, free: 4.566 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.3074, allocations: 23.41 kB / 453.7 MB, free: 4.555 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/0.3075, allocations: 20.61 kB / 453.8 MB, free: 4.551 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3075, allocations: 7.844 kB / 453.8 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.3075, allocations: 0 / 453.8 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3075, allocations: 3.938 kB / 453.8 MB, free: 4.543 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.3077, allocations: 258 kB / 454 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3077, allocations: 0 / 454 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.3079, allocations: 39.16 kB / 454.1 MB, free: 4.324 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001107/0.308, allocations: 42.39 kB / 454.1 MB, free: 4.309 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.308, allocations: 7.781 kB / 454.1 MB, free: 4.305 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.3093, allocations: 1.531 MB / 455.7 MB, free: 18.94 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3093, allocations: 0 / 455.7 MB, free: 18.94 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004684/0.3098, allocations: 247.2 kB / 455.9 MB, free: 18.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/0.3098, allocations: 100.5 kB / 456 MB, free: 18.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.3099, allocations: 4 kB / 456 MB, free: 18.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.3102, allocations: 46.38 kB / 456 MB, free: 18.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.3102, allocations: 19.5 kB / 456.1 MB, free: 18.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.3102, allocations: 3.906 kB / 456.1 MB, free: 18.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001294/0.3104, allocations: 170.8 kB / 456.2 MB, free: 18.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004461/0.3108, allocations: 108.3 kB / 456.3 MB, free: 18.59 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.0001417/0.311, allocations: 106.5 kB / 456.4 MB, free: 18.49 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000565/0.3116, allocations: 401.1 kB / 456.8 MB, free: 18.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3116, allocations: 0 / 456.8 MB, free: 18.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.3118, allocations: 170.8 kB / 457 MB, free: 18.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.312, allocations: 34.58 kB / 457 MB, free: 18.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.3146, allocations: 0.8335 MB / 457.9 MB, free: 17.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/0.3149, allocations: 0.7758 MB / 458.6 MB, free: 17.11 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3149, allocations: 3.938 kB / 458.6 MB, free: 17.11 MB / 330.7 MB Notification: Performance of Templates: time 0.006908/0.3218, allocations: 4.181 MB / 462.8 MB, free: 15.03 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches