Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008949/0.0008949, allocations: 79.69 kB / 21.7 MB, free: 2.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001182/0.001182, allocations: 157.8 kB / 24.99 MB, free: 8.25 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.052/1.052, allocations: 177 MB / 205.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 273 MB, free: 1.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.537e-05, allocations: 5.125 kB / 273 MB, free: 1.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.006816/0.006841, allocations: 2.795 MB / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004451/0.01129, allocations: 0.6816 MB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.01148, allocations: 7.938 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.01163, allocations: 43.58 kB / 276.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.01184, allocations: 103.1 kB / 276.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.01212, allocations: 87.75 kB / 276.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004074/0.01252, allocations: 370.3 kB / 277.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.01271, allocations: 56.75 kB / 277.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.01295, allocations: 199.5 kB / 277.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.01312, allocations: 123.7 kB / 277.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.759e-05/0.01316, allocations: 28 kB / 277.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.023e-05/0.0132, allocations: 32 kB / 277.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003093/0.0163, allocations: 67.67 kB / 277.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.01644, allocations: 107.7 kB / 277.7 MB, free: 13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.01676, allocations: 215.2 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.01677, allocations: 4 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.01677, allocations: 0 / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.01677, allocations: 0 / 277.9 MB, free: 12.79 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001011/0.01778, allocations: 0.6544 MB / 278.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.01783, allocations: 11.98 kB / 278.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.01795, allocations: 52.75 kB / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.01829, allocations: 216.1 kB / 278.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.01831, allocations: 20.88 kB / 278.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.01835, allocations: 28.38 kB / 278.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.01873, allocations: 262.4 kB / 279.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.01874, allocations: 192 / 279.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.01876, allocations: 8.375 kB / 279.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.01878, allocations: 7.938 kB / 279.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.01897, allocations: 98.86 kB / 279.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00317/0.02214, allocations: 0.7848 MB / 280.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.02246, allocations: 123 kB / 280.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.077e-05/0.02256, allocations: 39.66 kB / 280.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.02258, allocations: 4 kB / 280.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003019/0.02288, allocations: 220.8 kB / 280.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 2.435e-06/0.02289, allocations: 0 / 280.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009437/0.02383, allocations: 276.4 kB / 280.7 MB, free: 9.773 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.02389, allocations: 140.5 kB / 280.8 MB, free: 9.605 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.02411, allocations: 300.2 kB / 281.1 MB, free: 9.297 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.02414, allocations: 29.7 kB / 281.2 MB, free: 9.262 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.02427, allocations: 230.9 kB / 281.4 MB, free: 9.031 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.02431, allocations: 59.45 kB / 281.5 MB, free: 8.973 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-05/0.0244, allocations: 55.59 kB / 281.5 MB, free: 8.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.02456, allocations: 0.5039 MB / 282 MB, free: 8.395 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.02466, allocations: 62.14 kB / 282.1 MB, free: 8.328 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.02486, allocations: 252 kB / 282.3 MB, free: 8.008 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.02508, allocations: 188.1 kB / 282.5 MB, free: 7.781 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.02509, allocations: 0 / 282.5 MB, free: 7.781 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004884/0.02558, allocations: 307 kB / 282.8 MB, free: 7.461 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.466e-05/0.02562, allocations: 44.3 kB / 282.8 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.02563, allocations: 0 / 282.8 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003867/0.02601, allocations: 87.84 kB / 282.9 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.02615, allocations: 39.97 kB / 283 MB, free: 7.285 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/0.02771, allocations: 2.229 MB / 285.2 MB, free: 4.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.02786, allocations: 43.81 kB / 285.2 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.02787, allocations: 8 kB / 285.2 MB, free: 4.871 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.02798, allocations: 172.5 kB / 285.4 MB, free: 4.691 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.02802, allocations: 31.86 kB / 285.4 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.02805, allocations: 30.14 kB / 285.5 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.02805, allocations: 7.938 kB / 285.5 MB, free: 4.621 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.02805, allocations: 3.938 kB / 285.5 MB, free: 4.617 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.02806, allocations: 0 / 285.5 MB, free: 4.617 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.02821, allocations: 212.5 kB / 285.7 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.02821, allocations: 0 / 285.7 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.001e-05/0.02826, allocations: 15.98 kB / 285.7 MB, free: 4.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002177/0.02848, allocations: 79.61 kB / 285.8 MB, free: 4.277 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.02849, allocations: 8.109 kB / 285.8 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.02965, allocations: 2.217 MB / 288 MB, free: 1.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.02965, allocations: 0 / 288 MB, free: 1.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.02993, allocations: 223.7 kB / 288.2 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/0.02996, allocations: 23.86 kB / 288.3 MB, free: 1.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.02998, allocations: 3.938 kB / 288.3 MB, free: 1.656 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.851e-05/0.03007, allocations: 27.97 kB / 288.3 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.844e-05/0.03014, allocations: 23.95 kB / 288.3 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.03015, allocations: 15.97 kB / 288.3 MB, free: 1.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001256/0.03027, allocations: 209.1 kB / 288.5 MB, free: 1.391 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03027, allocations: 0 / 288.5 MB, free: 1.391 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002838/0.03056, allocations: 75.89 kB / 288.6 MB, free: 1.316 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: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,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 (11): * Single equations (assignments): 8 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001325/0.03069, allocations: 99.25 kB / 288.7 MB, free: 1.211 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004578/0.03115, allocations: 393.8 kB / 289.1 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.03115, allocations: 4.125 kB / 289.1 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.03133, allocations: 245.4 kB / 289.3 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.03156, allocations: 52.7 kB / 289.4 MB, free: 484 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.03262, allocations: 491 kB / 289.9 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.04e-05/0.03267, allocations: 84.31 kB / 289.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.795e-05/0.03274, allocations: 30.22 kB / 290 MB, free: 15.83 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.03279, allocations: 20.5 kB / 290 MB, free: 15.81 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.0328, allocations: 0 / 290 MB, free: 15.81 MB / 282.7 MB Notification: Performance of Templates: time 0.006054/0.03885, allocations: 4.128 MB / 294.1 MB, free: 11.73 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 3.0830171999987215]