Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.001016/0.001016, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.0009972/0.0009972, allocations: 145.3 kB / 24.89 MB, free: 8.742 MB / 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.02/1.02, allocations: 173.4 MB / 201.5 MB, free: 8.273 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.InvertingSchmittTrigger,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.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 3.938 kB / 268.6 MB, free: 9.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.399e-05, allocations: 5.406 kB / 268.6 MB, free: 9.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003336/0.00336, allocations: 2.781 MB / 271.3 MB, free: 6.926 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.004557, allocations: 0.6811 MB / 272 MB, free: 6.242 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.004679, allocations: 4.781 kB / 272 MB, free: 6.238 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.004812, allocations: 43.52 kB / 272.1 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.004977, allocations: 100.6 kB / 272.2 MB, free: 6.098 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.005244, allocations: 100.5 kB / 272.3 MB, free: 6 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003393/0.005584, allocations: 372.2 kB / 272.6 MB, free: 5.637 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.005721, allocations: 58.84 kB / 272.7 MB, free: 5.578 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002193/0.00594, allocations: 195.5 kB / 272.9 MB, free: 5.387 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.006075, allocations: 119.6 kB / 273 MB, free: 5.27 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.006118, allocations: 32 kB / 273 MB, free: 5.238 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.933e-05/0.006147, allocations: 29.78 kB / 273.1 MB, free: 5.211 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.578e-05/0.006193, allocations: 71.62 kB / 273.1 MB, free: 5.141 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.554e-05/0.006268, allocations: 99.75 kB / 273.2 MB, free: 5.043 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.006501, allocations: 215.2 kB / 273.4 MB, free: 4.832 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.006505, allocations: 3.984 kB / 273.4 MB, free: 4.828 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.006506, allocations: 0.5 kB / 273.4 MB, free: 4.828 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.00651, allocations: 0.75 kB / 273.4 MB, free: 4.828 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.000673/0.007183, allocations: 0.5231 MB / 274 MB, free: 4.277 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.007216, allocations: 8.031 kB / 274 MB, free: 4.27 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.827e-05/0.007274, allocations: 40.91 kB / 274 MB, free: 4.23 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.007491, allocations: 185.2 kB / 274.2 MB, free: 4.023 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.007506, allocations: 16.88 kB / 274.2 MB, free: 4.004 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.007526, allocations: 16.38 kB / 274.2 MB, free: 3.988 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.007818, allocations: 271.3 kB / 274.5 MB, free: 3.699 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.007826, allocations: 192 / 274.5 MB, free: 3.699 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.007841, allocations: 8.375 kB / 274.5 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.007848, allocations: 15.88 kB / 274.5 MB, free: 3.676 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.501e-05/0.007933, allocations: 55.47 kB / 274.6 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007443/0.008678, allocations: 0.6711 MB / 275.2 MB, free: 2.91 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.008848, allocations: 86.53 kB / 275.3 MB, free: 2.816 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.809e-05/0.008886, allocations: 32.84 kB / 275.4 MB, free: 2.781 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.008903, allocations: 7.984 kB / 275.4 MB, free: 2.773 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.00905, allocations: 165.2 kB / 275.5 MB, free: 2.578 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.873e-06/0.009052, allocations: 0 / 275.5 MB, free: 2.578 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005459/0.009598, allocations: 266.2 kB / 275.8 MB, free: 2.309 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.009643, allocations: 110.8 kB / 275.9 MB, free: 2.176 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.009781, allocations: 233 kB / 276.1 MB, free: 1.934 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.009799, allocations: 25.7 kB / 276.1 MB, free: 1.902 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/0.009873, allocations: 176.1 kB / 276.3 MB, free: 1.723 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.009899, allocations: 47.58 kB / 276.4 MB, free: 1.676 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/0.009956, allocations: 49.67 kB / 276.4 MB, free: 1.621 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.335e-05/0.01004, allocations: 330.8 kB / 276.7 MB, free: 1.289 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.992e-05/0.01009, allocations: 49.69 kB / 276.8 MB, free: 1.234 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.958e-05/0.01019, allocations: 185.3 kB / 277 MB, free: 1 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.01032, allocations: 158.1 kB / 277.1 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.01032, allocations: 3.938 kB / 277.1 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002829/0.0106, allocations: 248.2 kB / 277.4 MB, free: 0.543 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.01063, allocations: 29.7 kB / 277.4 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.01064, allocations: 4 kB / 277.4 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002364/0.01088, allocations: 73.17 kB / 277.5 MB, free: 440 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.599e-05/0.01097, allocations: 51.84 kB / 277.5 MB, free: 388 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.01202, allocations: 1.478 MB / 279 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.01215, allocations: 39.86 kB / 279 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.01216, allocations: 8 kB / 279 MB, free: 14.77 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 7.698e-05/0.01224, allocations: 129.7 kB / 279.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.01229, allocations: 19.97 kB / 279.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.01232, allocations: 17.78 kB / 279.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.01232, allocations: 0 / 279.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.01232, allocations: 4 kB / 279.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01233, allocations: 3.984 kB / 279.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.01244, allocations: 137.7 kB / 279.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.01244, allocations: 7.938 kB / 279.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.845e-05/0.01249, allocations: 15.98 kB / 279.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001688/0.01266, allocations: 72.92 kB / 279.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.01267, allocations: 8 kB / 279.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008538/0.01352, allocations: 1.426 MB / 280.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.01352, allocations: 7.969 kB / 280.9 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.01372, allocations: 161.1 kB / 281 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.01374, allocations: 23.8 kB / 281.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.01376, allocations: 4 kB / 281.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.806e-05/0.01384, allocations: 27.91 kB / 281.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.01389, allocations: 19.97 kB / 281.1 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.0139, allocations: 8 kB / 281.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.364e-05/0.01396, allocations: 78.78 kB / 281.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01396, allocations: 0 / 281.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002343/0.0142, allocations: 67.89 kB / 281.3 MB, free: 12.41 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 9.885e-05/0.01429, allocations: 88.41 kB / 281.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003712/0.01467, allocations: 340.4 kB / 281.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.01467, allocations: 4 kB / 281.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.01491, allocations: 167.3 kB / 281.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.01509, allocations: 62.95 kB / 281.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.01627, allocations: 0.6574 MB / 282.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.818e-05/0.01631, allocations: 80.31 kB / 282.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.473e-05/0.01639, allocations: 26.33 kB / 282.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.01651, allocations: 95.34 kB / 282.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of SimCode: time 1.513e-06/0.01652, allocations: 0 / 282.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of Templates: time 0.006246/0.02276, allocations: 4.006 MB / 286.8 MB, free: 6.871 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.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: 2.777986457105726]