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.000762/0.000762, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003359/0.003359, allocations: 164 kB / 24.7 MB, free: 8.891 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.8473/0.8473, allocations: 177.1 MB / 205 MB, free: 5.742 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.843e-06/1.843e-06, allocations: 0 / 325.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.841e-05, allocations: 2.281 kB / 325.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.002433/0.002451, allocations: 2.621 MB / 328.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008221/0.003273, allocations: 0.6855 MB / 329.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.00338, allocations: 11.88 kB / 329.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.003497, allocations: 39.64 kB / 329.2 MB, free: 12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.003627, allocations: 95.19 kB / 329.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.00384, allocations: 103.8 kB / 329.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.004115, allocations: 366.3 kB / 329.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.004259, allocations: 60.77 kB / 329.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.004419, allocations: 199.5 kB / 330 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.00454, allocations: 107.7 kB / 330.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.943e-05/0.004579, allocations: 28 kB / 330.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.86e-05/0.004608, allocations: 32 kB / 330.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.683e-05/0.004655, allocations: 75.67 kB / 330.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.779e-05/0.004733, allocations: 99.75 kB / 330.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007577/0.00549, allocations: 334.9 kB / 330.7 MB, free: 10.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.005492, allocations: 0 / 330.7 MB, free: 10.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005493, allocations: 0 / 330.7 MB, free: 10.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.279e-06/0.005497, allocations: 0 / 330.7 MB, free: 10.53 MB / 298.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.0007819/0.006279, allocations: 0.5735 MB / 331.3 MB, free: 9.926 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.006311, allocations: 8.031 kB / 331.3 MB, free: 9.918 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.181e-05/0.006363, allocations: 36.75 kB / 331.3 MB, free: 9.883 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.006612, allocations: 217.2 kB / 331.5 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.006627, allocations: 20.86 kB / 331.5 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.00665, allocations: 20.38 kB / 331.6 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003812/0.007031, allocations: 338.5 kB / 331.9 MB, free: 9.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.007041, allocations: 192 / 331.9 MB, free: 9.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.007058, allocations: 4.375 kB / 331.9 MB, free: 9.246 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.007064, allocations: 11.94 kB / 331.9 MB, free: 9.234 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003685/0.007433, allocations: 241.8 kB / 332.2 MB, free: 9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008618/0.008295, allocations: 0.8096 MB / 333 MB, free: 8.137 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004414/0.008736, allocations: 230.6 kB / 333.2 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.008894, allocations: 96.78 kB / 333.3 MB, free: 7.805 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.008911, allocations: 4 kB / 333.3 MB, free: 7.801 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/0.009174, allocations: 225.2 kB / 333.5 MB, free: 7.547 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.009175, allocations: 0 / 333.5 MB, free: 7.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001125/0.0103, allocations: 0.5836 MB / 334.1 MB, free: 6.957 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.01035, allocations: 106.8 kB / 334.2 MB, free: 6.828 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.01052, allocations: 265.8 kB / 334.5 MB, free: 6.559 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.01054, allocations: 33.7 kB / 334.5 MB, free: 6.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.243e-05/0.01062, allocations: 184.1 kB / 334.7 MB, free: 6.336 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.01065, allocations: 43.64 kB / 334.7 MB, free: 6.293 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.0107, allocations: 45.7 kB / 334.8 MB, free: 6.242 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.553e-05/0.01078, allocations: 330.8 kB / 335.1 MB, free: 5.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.01095, allocations: 129.6 kB / 335.2 MB, free: 5.777 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.01117, allocations: 267.3 kB / 335.5 MB, free: 5.461 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.01151, allocations: 294.1 kB / 335.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01151, allocations: 0 / 335.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005914/0.0121, allocations: 476.3 kB / 336.2 MB, free: 4.652 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.01213, allocations: 37.7 kB / 336.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.01214, allocations: 0 / 336.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002173/0.01235, allocations: 88.8 kB / 336.3 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.01246, allocations: 39.97 kB / 336.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.01419, allocations: 1.863 MB / 338.2 MB, free: 2.508 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.01433, allocations: 51.95 kB / 338.3 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.01434, allocations: 19.92 kB / 338.3 MB, free: 2.438 MB / 298.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.0001003/0.01444, allocations: 137.7 kB / 338.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.01447, allocations: 23.86 kB / 338.5 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.357e-05/0.01449, allocations: 25.77 kB / 338.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01449, allocations: 4 kB / 338.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.01449, allocations: 0 / 338.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.0145, allocations: 4 kB / 338.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.01463, allocations: 205.1 kB / 338.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.01463, allocations: 0 / 338.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.927e-05/0.01469, allocations: 15.98 kB / 338.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001491/0.01484, allocations: 88.92 kB / 338.8 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.01485, allocations: 3.984 kB / 338.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/0.01605, allocations: 1.781 MB / 340.6 MB, free: 20 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01605, allocations: 0 / 340.6 MB, free: 20 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005153/0.01656, allocations: 357.5 kB / 340.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.01659, allocations: 23.86 kB / 341 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.01661, allocations: 3.984 kB / 341 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.01671, allocations: 31.97 kB / 341 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.01676, allocations: 27.95 kB / 341 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.01677, allocations: 11.97 kB / 341 MB, free: 15.55 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001161/0.01689, allocations: 181.2 kB / 341.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01689, allocations: 0 / 341.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002322/0.01712, allocations: 75.89 kB / 341.3 MB, free: 15.3 MB / 314.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 8.301e-05/0.0172, allocations: 99.19 kB / 341.4 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006738/0.01787, allocations: 0.5072 MB / 341.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01788, allocations: 0 / 341.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.0181, allocations: 223 kB / 342.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.01829, allocations: 40.61 kB / 342.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.01976, allocations: 0.9171 MB / 343.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.758e-05/0.01983, allocations: 138.2 kB / 343.2 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/0.01988, allocations: 20.5 kB / 343.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of SimCode: time 4.8e-07/0.01988, allocations: 0 / 343.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of Templates: time 0.004194/0.02408, allocations: 4.232 MB / 347.5 MB, free: 9.035 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 480] 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.191982547752559]