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.002198/0.002198, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.002646/0.002646, allocations: 149.4 kB / 24.26 MB, free: 184 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.605/1.605, allocations: 173.4 MB / 200.8 MB, free: 9.297 MB / 186.7 MB " [Timeout remaining time 178] 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.753e-06/1.753e-06, allocations: 0 / 267.4 MB, free: 6.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.691e-05, allocations: 6.312 kB / 267.4 MB, free: 6.672 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004238/0.004265, allocations: 2.6 MB / 270 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.005542, allocations: 0.6388 MB / 270.6 MB, free: 3.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.005661, allocations: 4 kB / 270.6 MB, free: 3.406 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.005812, allocations: 43.58 kB / 270.7 MB, free: 3.363 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.006031, allocations: 99.12 kB / 270.8 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.006339, allocations: 107.7 kB / 270.9 MB, free: 3.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004669/0.006806, allocations: 358.4 kB / 271.2 MB, free: 2.809 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.006991, allocations: 68.88 kB / 271.3 MB, free: 2.738 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/0.007266, allocations: 195.5 kB / 271.5 MB, free: 2.547 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.007453, allocations: 111.6 kB / 271.6 MB, free: 2.438 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.618e-05/0.00751, allocations: 28 kB / 271.6 MB, free: 2.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.468e-05/0.007564, allocations: 32 kB / 271.6 MB, free: 2.379 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.891e-05/0.007643, allocations: 63.75 kB / 271.7 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.007802, allocations: 111.6 kB / 271.8 MB, free: 2.207 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004332/0.008235, allocations: 334.9 kB / 272.1 MB, free: 1.879 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.008238, allocations: 0 / 272.1 MB, free: 1.879 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.008239, allocations: 0 / 272.1 MB, free: 1.879 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.008245, allocations: 0 / 272.1 MB, free: 1.879 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.001341/0.009585, allocations: 0.5742 MB / 272.7 MB, free: 1.27 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.009617, allocations: 8.031 kB / 272.7 MB, free: 1.262 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.009726, allocations: 48.75 kB / 272.8 MB, free: 1.215 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.01015, allocations: 225.2 kB / 273 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.01018, allocations: 20.88 kB / 273 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/0.01022, allocations: 20.38 kB / 273 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007354/0.01096, allocations: 326.6 kB / 273.3 MB, free: 0.582 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.01097, allocations: 8.172 kB / 273.4 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.011, allocations: 8.375 kB / 273.4 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.01101, allocations: 11.94 kB / 273.4 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.01203, allocations: 237.8 kB / 273.6 MB, free: 332 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.01374, allocations: 0.8174 MB / 274.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008713/0.01461, allocations: 234.6 kB / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003507/0.01496, allocations: 92.78 kB / 274.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.01499, allocations: 4 kB / 274.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005348/0.01552, allocations: 233.2 kB / 275 MB, free: 14.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.01552, allocations: 0 / 275 MB, free: 14.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.002448/0.01797, allocations: 0.5799 MB / 275.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.765e-05/0.01806, allocations: 107 kB / 275.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.01839, allocations: 257.9 kB / 275.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.01843, allocations: 37.64 kB / 275.9 MB, free: 13.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.01859, allocations: 184.1 kB / 276.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.752e-05/0.01864, allocations: 43.61 kB / 276.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.956e-05/0.01874, allocations: 49.66 kB / 276.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.01893, allocations: 334.8 kB / 276.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.01934, allocations: 125.6 kB / 276.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005129/0.01986, allocations: 263.3 kB / 276.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007782/0.02063, allocations: 297.1 kB / 277.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.02064, allocations: 0 / 277.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001386/0.02202, allocations: 477.5 kB / 277.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/0.02207, allocations: 33.77 kB / 277.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.02208, allocations: 4 kB / 277.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007281/0.02281, allocations: 136.7 kB / 277.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.02302, allocations: 51.91 kB / 277.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003208/0.02623, allocations: 1.863 MB / 279.8 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003773/0.02661, allocations: 51.88 kB / 279.8 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.02664, allocations: 11.94 kB / 279.8 MB, free: 9.699 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.0001825/0.02682, allocations: 145.9 kB / 280 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.02687, allocations: 23.86 kB / 280 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.67e-05/0.02693, allocations: 29.77 kB / 280 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.02693, allocations: 0 / 280 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.02693, allocations: 0 / 280 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.02693, allocations: 0 / 280 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.0272, allocations: 209 kB / 280.2 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.0272, allocations: 0 / 280.2 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.02735, allocations: 23.97 kB / 280.2 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006004/0.02795, allocations: 132.7 kB / 280.4 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.02796, allocations: 4.125 kB / 280.4 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002943/0.03091, allocations: 1.793 MB / 282.2 MB, free: 7.207 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.03091, allocations: 0 / 282.2 MB, free: 7.207 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.03209, allocations: 361.6 kB / 282.5 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.03214, allocations: 27.8 kB / 282.6 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.03218, allocations: 0 / 282.6 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.03245, allocations: 39.89 kB / 282.6 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.584e-05/0.03254, allocations: 23.91 kB / 282.6 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.03255, allocations: 0 / 282.6 MB, free: 6.742 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002242/0.03277, allocations: 189.2 kB / 282.8 MB, free: 6.555 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03277, allocations: 0 / 282.8 MB, free: 6.555 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004326/0.03321, allocations: 75.89 kB / 282.9 MB, free: 6.48 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.0001623/0.03337, allocations: 102.8 kB / 283 MB, free: 6.371 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.03481, allocations: 0.4957 MB / 283.5 MB, free: 5.848 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.03481, allocations: 4.062 kB / 283.5 MB, free: 5.844 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005468/0.03536, allocations: 230.4 kB / 283.7 MB, free: 5.605 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.03569, allocations: 55.58 kB / 283.8 MB, free: 5.555 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/0.03884, allocations: 0.8837 MB / 284.6 MB, free: 4.645 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.03899, allocations: 138.2 kB / 284.8 MB, free: 4.488 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.0391, allocations: 22.28 kB / 284.8 MB, free: 4.465 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.569e-05/0.03916, allocations: 20.5 kB / 284.8 MB, free: 4.445 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.03916, allocations: 7.938 kB / 284.8 MB, free: 4.438 MB / 266.7 MB Notification: Performance of Templates: time 0.008897/0.04806, allocations: 3.828 MB / 288.7 MB, free: 0.6562 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.711763552972116]