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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.041/1.041, allocations: 173.4 MB / 201.1 MB, free: 8.973 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 268 MB, free: 6.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.991e-05, allocations: 2.312 kB / 268 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004642/0.004672, allocations: 2.77 MB / 270.8 MB, free: 3.434 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.006161, allocations: 0.6583 MB / 271.5 MB, free: 2.77 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.006321, allocations: 7.938 kB / 271.5 MB, free: 2.762 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.006505, allocations: 43.58 kB / 271.5 MB, free: 2.719 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.006756, allocations: 99.19 kB / 271.6 MB, free: 2.621 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.00713, allocations: 95.81 kB / 271.7 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004559/0.007586, allocations: 370.3 kB / 272.1 MB, free: 2.164 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.007783, allocations: 60.83 kB / 272.1 MB, free: 2.102 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002932/0.008076, allocations: 199.5 kB / 272.3 MB, free: 1.906 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.008269, allocations: 111.6 kB / 272.4 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.174e-05/0.008331, allocations: 28 kB / 272.5 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.718e-05/0.008388, allocations: 32 kB / 272.5 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.039e-05/0.008458, allocations: 59.75 kB / 272.6 MB, free: 1.68 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.0086, allocations: 111.7 kB / 272.7 MB, free: 1.57 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000389/0.008989, allocations: 219.2 kB / 272.9 MB, free: 1.355 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.008992, allocations: 0 / 272.9 MB, free: 1.355 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.008992, allocations: 0 / 272.9 MB, free: 1.355 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.008999, allocations: 0 / 272.9 MB, free: 1.355 MB / 250.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.001187/0.01019, allocations: 0.639 MB / 273.5 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.01024, allocations: 12.92 kB / 273.5 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.01035, allocations: 48.75 kB / 273.6 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.01075, allocations: 228 kB / 273.8 MB, free: 376 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.01078, allocations: 16.88 kB / 273.8 MB, free: 356 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/0.01082, allocations: 20.38 kB / 273.8 MB, free: 336 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005633/0.01138, allocations: 277.1 kB / 274.1 MB, free: 28 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.0114, allocations: 4.188 kB / 274.1 MB, free: 24 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.01143, allocations: 8.375 kB / 274.1 MB, free: 16 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.01145, allocations: 7.938 kB / 274.1 MB, free: 8 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.01172, allocations: 90.88 kB / 274.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.01321, allocations: 0.8702 MB / 275.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003642/0.01358, allocations: 115.1 kB / 275.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.446e-05/0.01367, allocations: 35.89 kB / 275.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.01371, allocations: 7.938 kB / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002507/0.01396, allocations: 183.5 kB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.01396, allocations: 4 kB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001067/0.01503, allocations: 312.9 kB / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.01509, allocations: 106.8 kB / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.01537, allocations: 296.3 kB / 276.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.01539, allocations: 33.7 kB / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.01553, allocations: 226.9 kB / 276.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.01557, allocations: 43.58 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.4e-05/0.01565, allocations: 51.36 kB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.01582, allocations: 0.5001 MB / 277 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.01594, allocations: 57.62 kB / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.01613, allocations: 206 kB / 277.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.01635, allocations: 177.5 kB / 277.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.01636, allocations: 4 kB / 277.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005615/0.01692, allocations: 288.5 kB / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.01696, allocations: 33.7 kB / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.01697, allocations: 4 kB / 277.7 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003844/0.01735, allocations: 83.59 kB / 277.8 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.01751, allocations: 35.92 kB / 277.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.01919, allocations: 2.133 MB / 280 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.01939, allocations: 35.88 kB / 280 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.01941, allocations: 11.94 kB / 280 MB, free: 9.652 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.01954, allocations: 172.5 kB / 280.2 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.01959, allocations: 27.86 kB / 280.2 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.01963, allocations: 21.78 kB / 280.2 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01963, allocations: 0 / 280.2 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.01963, allocations: 12.14 kB / 280.3 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.01964, allocations: 0 / 280.3 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.01985, allocations: 204.5 kB / 280.5 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01986, allocations: 0 / 280.5 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.432e-05/0.01995, allocations: 19.98 kB / 280.5 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003569/0.02031, allocations: 71.62 kB / 280.5 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.02033, allocations: 4 kB / 280.5 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/0.02163, allocations: 1.889 MB / 282.4 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.02163, allocations: 11.88 kB / 282.4 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.02205, allocations: 211.8 kB / 282.7 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.02209, allocations: 19.91 kB / 282.7 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.02212, allocations: 3.984 kB / 282.7 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.02227, allocations: 28.02 kB / 282.7 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.428e-05/0.02234, allocations: 15.97 kB / 282.7 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.02235, allocations: 4 kB / 282.7 MB, free: 6.754 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001679/0.02252, allocations: 209.1 kB / 282.9 MB, free: 6.547 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02252, allocations: 0 / 282.9 MB, free: 6.547 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003818/0.0229, allocations: 75.84 kB / 283 MB, free: 6.473 MB / 266.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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001247/0.02303, allocations: 103.2 kB / 283.1 MB, free: 6.359 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005258/0.02356, allocations: 386.3 kB / 283.5 MB, free: 5.945 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.02356, allocations: 0 / 283.5 MB, free: 5.945 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002528/0.02381, allocations: 229.4 kB / 283.7 MB, free: 5.699 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.02413, allocations: 55.16 kB / 283.8 MB, free: 5.648 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.02533, allocations: 410.8 kB / 284.2 MB, free: 5.219 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.193e-05/0.02539, allocations: 84.25 kB / 284.2 MB, free: 5.117 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.35e-05/0.02548, allocations: 21.95 kB / 284.3 MB, free: 5.098 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.001e-05/0.02555, allocations: 20.5 kB / 284.3 MB, free: 5.078 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02555, allocations: 4 kB / 284.3 MB, free: 5.074 MB / 266.7 MB Notification: Performance of Templates: time 0.007934/0.03349, allocations: 3.879 MB / 288.2 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.176613384857774]