Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.568/1.568, allocations: 177.2 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 272.4 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.105e-05/3.302e-05, allocations: 2.312 kB / 272.4 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004769/0.004802, allocations: 2.749 MB / 275.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.006645, allocations: 0.6971 MB / 275.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.00681, allocations: 7.938 kB / 275.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.007001, allocations: 39.58 kB / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.007212, allocations: 91.25 kB / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.00753, allocations: 103.7 kB / 276.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004849/0.008015, allocations: 362.4 kB / 276.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.008214, allocations: 68.81 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003068/0.008521, allocations: 203.5 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.008738, allocations: 107.7 kB / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.482e-05/0.008803, allocations: 32 kB / 276.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.988e-05/0.008863, allocations: 28 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.685e-05/0.00895, allocations: 67.69 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.009105, allocations: 99.75 kB / 277 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005088/0.009613, allocations: 334.9 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.009619, allocations: 0 / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.00962, allocations: 0 / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.009628, allocations: 0 / 277.3 MB, free: 12.8 MB / 266.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.001406/0.01103, allocations: 0.6699 MB / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.01107, allocations: 8.031 kB / 278 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.01119, allocations: 48.75 kB / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004234/0.01161, allocations: 232 kB / 278.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.01164, allocations: 16.81 kB / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/0.01168, allocations: 20.38 kB / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006304/0.01231, allocations: 320.4 kB / 278.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.01232, allocations: 192 / 278.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.01235, allocations: 8.375 kB / 278.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.01236, allocations: 11.94 kB / 278.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005893/0.01295, allocations: 205.8 kB / 278.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.01471, allocations: 0.9521 MB / 279.8 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006603/0.01537, allocations: 195.1 kB / 280 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.01563, allocations: 79.64 kB / 280.1 MB, free: 9.887 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.01566, allocations: 8 kB / 280.1 MB, free: 9.879 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004628/0.01612, allocations: 227.4 kB / 280.3 MB, free: 9.617 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.01612, allocations: 0 / 280.3 MB, free: 9.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001805/0.01793, allocations: 440.9 kB / 280.7 MB, free: 9.176 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.01803, allocations: 110.8 kB / 280.8 MB, free: 9.043 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005662/0.0186, allocations: 352.2 kB / 281.2 MB, free: 8.684 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.01863, allocations: 33.7 kB / 281.2 MB, free: 8.645 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.01884, allocations: 234.9 kB / 281.4 MB, free: 8.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.704e-05/0.01889, allocations: 51.62 kB / 281.5 MB, free: 8.359 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.01901, allocations: 55.36 kB / 281.5 MB, free: 8.297 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002959/0.0193, allocations: 0.5118 MB / 282.1 MB, free: 7.773 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003021/0.01961, allocations: 109.6 kB / 282.2 MB, free: 7.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004268/0.02003, allocations: 282.1 kB / 282.4 MB, free: 7.316 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006077/0.02064, allocations: 284.1 kB / 282.7 MB, free: 6.992 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.02064, allocations: 0 / 282.7 MB, free: 6.992 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001084/0.02173, allocations: 424.4 kB / 283.1 MB, free: 6.555 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.602e-05/0.02177, allocations: 29.7 kB / 283.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.02178, allocations: 4 kB / 283.2 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005896/0.02237, allocations: 111.6 kB / 283.3 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.02255, allocations: 35.92 kB / 283.3 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003065/0.02562, allocations: 2.348 MB / 285.7 MB, free: 3.891 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/0.02589, allocations: 43.8 kB / 285.7 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.02592, allocations: 11.94 kB / 285.7 MB, free: 3.836 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 19 * 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.0002074/0.02612, allocations: 195.8 kB / 285.9 MB, free: 3.637 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.02617, allocations: 23.86 kB / 285.9 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.274e-05/0.02624, allocations: 29.77 kB / 286 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.02624, allocations: 4.031 kB / 286 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.02624, allocations: 0 / 286 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.02625, allocations: 0 / 286 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.02656, allocations: 240.4 kB / 286.2 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.02656, allocations: 0 / 286.2 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.02667, allocations: 23.92 kB / 286.2 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004321/0.0271, allocations: 99.73 kB / 286.3 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.02712, allocations: 12 kB / 286.3 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002826/0.02995, allocations: 2.293 MB / 288.6 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.02995, allocations: 0 / 288.6 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008604/0.03081, allocations: 310.6 kB / 288.9 MB, free: 444 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.909e-05/0.03087, allocations: 31.8 kB / 289 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.0309, allocations: 0 / 289 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.0311, allocations: 27.97 kB / 289 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.405e-05/0.0312, allocations: 27.91 kB / 289 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.03122, allocations: 4 kB / 289 MB, free: 352 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002492/0.03147, allocations: 237.1 kB / 289.2 MB, free: 116 kB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03147, allocations: 0 / 289.2 MB, free: 116 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004073/0.03187, allocations: 75.89 kB / 289.3 MB, free: 40 kB / 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.0001716/0.03204, allocations: 99.23 kB / 289.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.03323, allocations: 0.5034 MB / 289.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.03324, allocations: 0 / 289.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004841/0.03372, allocations: 285.8 kB / 290.2 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.03405, allocations: 40.61 kB / 290.2 MB, free: 15.05 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.0365, allocations: 0.6942 MB / 290.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.03667, allocations: 138.2 kB / 291.1 MB, free: 14.17 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.03678, allocations: 22.28 kB / 291.1 MB, free: 14.15 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.831e-05/0.03686, allocations: 20.5 kB / 291.1 MB, free: 14.13 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.03686, allocations: 0 / 291.1 MB, free: 14.13 MB / 282.7 MB Notification: Performance of Templates: time 0.009743/0.0466, allocations: 3.898 MB / 295 MB, free: 10.29 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.695765683078207]