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.001033/0.001033, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001223/0.001223, allocations: 168.7 kB / 25.61 MB, free: 8.582 MB / 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 0.9714/0.9714, allocations: 177.1 MB / 206 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] 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.783e-06/1.783e-06, allocations: 0 / 274.2 MB, free: 4.363 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.431e-05, allocations: 6.25 kB / 274.2 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004271/0.004295, allocations: 2.748 MB / 277 MB, free: 1.605 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.00577, allocations: 0.6977 MB / 277.7 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.005945, allocations: 4 kB / 277.7 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.006124, allocations: 44.14 kB / 277.7 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.006352, allocations: 100.6 kB / 277.8 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.006686, allocations: 96.38 kB / 277.9 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004398/0.007126, allocations: 368.8 kB / 278.3 MB, free: 316 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003126/0.007439, allocations: 56.91 kB / 278.3 MB, free: 256 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003249/0.007763, allocations: 195.5 kB / 278.5 MB, free: 60 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.007969, allocations: 115.7 kB / 278.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.008026, allocations: 28 kB / 278.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.751e-05/0.008073, allocations: 32 kB / 278.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.918e-05/0.008142, allocations: 67.67 kB / 278.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.008271, allocations: 105.7 kB / 278.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.008581, allocations: 215.2 kB / 279.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.008584, allocations: 4 kB / 279.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.008586, allocations: 3.984 kB / 279.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.008592, allocations: 0 / 279.1 MB, free: 15.5 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.0009674/0.009559, allocations: 0.6479 MB / 279.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.009597, allocations: 8.031 kB / 279.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.347e-05/0.00969, allocations: 44.75 kB / 279.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.009988, allocations: 220 kB / 280 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.01001, allocations: 12.88 kB / 280 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.01005, allocations: 28.38 kB / 280 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004121/0.01046, allocations: 265 kB / 280.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.01047, allocations: 192 / 280.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.01049, allocations: 8.375 kB / 280.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.01051, allocations: 7.938 kB / 280.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.01066, allocations: 75.42 kB / 280.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.0119, allocations: 0.8817 MB / 281.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.01217, allocations: 111.1 kB / 281.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.362e-05/0.01223, allocations: 35.67 kB / 281.4 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.01225, allocations: 4 kB / 281.4 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002567/0.01251, allocations: 179 kB / 281.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.314e-06/0.01251, allocations: 0 / 281.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001234/0.01374, allocations: 300.9 kB / 281.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.0138, allocations: 110.8 kB / 282 MB, free: 12.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.01404, allocations: 300.1 kB / 282.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.01407, allocations: 29.7 kB / 282.3 MB, free: 12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.0142, allocations: 230.8 kB / 282.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.01424, allocations: 47.62 kB / 282.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.663e-05/0.01433, allocations: 51.34 kB / 282.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.01449, allocations: 0.504 MB / 283.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.912e-05/0.01457, allocations: 45.69 kB / 283.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.01473, allocations: 217.3 kB / 283.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.01493, allocations: 200.6 kB / 283.6 MB, free: 10.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.01494, allocations: 0 / 283.6 MB, free: 10.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004926/0.01543, allocations: 284.3 kB / 283.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/0.01547, allocations: 39.72 kB / 283.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.01548, allocations: 4 kB / 283.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003528/0.01583, allocations: 79.86 kB / 284 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.01597, allocations: 40.12 kB / 284 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.01758, allocations: 2.13 MB / 286.2 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.0178, allocations: 47.84 kB / 286.2 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.01781, allocations: 8 kB / 286.2 MB, free: 7.805 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.0001253/0.01794, allocations: 176.4 kB / 286.4 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.01798, allocations: 35.88 kB / 286.4 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/0.01802, allocations: 21.78 kB / 286.5 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.01802, allocations: 0 / 286.5 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.01802, allocations: 0 / 286.5 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.01803, allocations: 3.984 kB / 286.5 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.01819, allocations: 177 kB / 286.6 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.01819, allocations: 0 / 286.6 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.747e-05/0.01826, allocations: 15.98 kB / 286.6 MB, free: 7.344 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002397/0.0185, allocations: 71.62 kB / 286.7 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.01851, allocations: 4 kB / 286.7 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.01984, allocations: 2.099 MB / 288.8 MB, free: 5.059 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.01984, allocations: 7.984 kB / 288.8 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006198/0.02046, allocations: 191.8 kB / 289 MB, free: 4.836 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/0.0205, allocations: 27.84 kB / 289 MB, free: 4.809 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.02053, allocations: 4 kB / 289 MB, free: 4.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.02066, allocations: 24.02 kB / 289.1 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.119e-05/0.02075, allocations: 19.95 kB / 289.1 MB, free: 4.762 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.02076, allocations: 4 kB / 289.1 MB, free: 4.758 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.915e-05/0.02086, allocations: 197.1 kB / 289.3 MB, free: 4.566 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02086, allocations: 0 / 289.3 MB, free: 4.566 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002517/0.02111, allocations: 67.89 kB / 289.3 MB, free: 4.5 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.0001237/0.02124, allocations: 103.2 kB / 289.4 MB, free: 4.391 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004626/0.0217, allocations: 406.2 kB / 289.8 MB, free: 3.957 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.0217, allocations: 0 / 289.8 MB, free: 3.957 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.02188, allocations: 237.3 kB / 290.1 MB, free: 3.703 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.02214, allocations: 64.83 kB / 290.1 MB, free: 3.641 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.02343, allocations: 0.6591 MB / 290.8 MB, free: 2.953 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.265e-05/0.02349, allocations: 80.31 kB / 290.9 MB, free: 2.855 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.391e-05/0.02356, allocations: 22.3 kB / 290.9 MB, free: 2.832 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.02369, allocations: 122.2 kB / 291 MB, free: 2.711 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.02369, allocations: 0 / 291 MB, free: 2.711 MB / 266.7 MB Notification: Performance of Templates: time 0.006328/0.03002, allocations: 4.24 MB / 295.3 MB, free: 14.54 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","",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.9288617009297013]