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.001336/0.001336, allocations: 111.6 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.001441/0.001441, allocations: 219.4 kB / 24.48 MB, free: 3.965 MB / 14.72 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.443/1.443, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001916/0.001916, allocations: 59.89 kB / 379 MB, free: 2.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2375, allocations: 53.41 MB / 432.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004111/0.2417, allocations: 2.626 MB / 435.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.2429, allocations: 0.6583 MB / 435.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.2431, allocations: 4 kB / 435.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.2432, allocations: 43.58 kB / 435.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.2435, allocations: 103.2 kB / 435.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.2437, allocations: 87.83 kB / 435.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003986/0.2441, allocations: 354.5 kB / 436.3 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.2443, allocations: 56.89 kB / 436.3 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.2445, allocations: 135.5 kB / 436.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.2447, allocations: 131.3 kB / 436.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.431e-05/0.2447, allocations: 32 kB / 436.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.414e-05/0.2448, allocations: 28 kB / 436.7 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.94e-05/0.2448, allocations: 67.7 kB / 436.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.245, allocations: 131.4 kB / 436.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000394/0.2454, allocations: 329.5 kB / 437.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2454, allocations: 0 / 437.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2454, allocations: 4 kB / 437.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.2454, allocations: 3.938 kB / 437.2 MB, free: 1.742 MB / 334.1 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.0012/0.2466, allocations: 0.5585 MB / 437.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.2466, allocations: 15.97 kB / 437.8 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.428e-05/0.2467, allocations: 36.75 kB / 437.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.2472, allocations: 225.9 kB / 438 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.2472, allocations: 20.81 kB / 438 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.2472, allocations: 20.36 kB / 438.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006111/0.2478, allocations: 324.6 kB / 438.4 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2479, allocations: 0 / 438.4 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.2479, allocations: 8 kB / 438.4 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.2479, allocations: 11.98 kB / 438.4 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006093/0.2485, allocations: 221.6 kB / 438.6 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.25, allocations: 0.761 MB / 439.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006426/0.2507, allocations: 202.5 kB / 439.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.251, allocations: 88.8 kB / 439.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.251, allocations: 0 / 439.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004912/0.2515, allocations: 258.6 kB / 439.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.2515, allocations: 3.938 kB / 439.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001714/0.2532, allocations: 426.2 kB / 440.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.2533, allocations: 132.5 kB / 440.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/0.2537, allocations: 268.9 kB / 440.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.2537, allocations: 33.7 kB / 440.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.2538, allocations: 184.1 kB / 440.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.2539, allocations: 47.64 kB / 441 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.58e-05/0.254, allocations: 53.89 kB / 441 MB, free: 13.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.2542, allocations: 334.8 kB / 441.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.2544, allocations: 118.1 kB / 441.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/0.2549, allocations: 274 kB / 441.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006194/0.2555, allocations: 260 kB / 442 MB, free: 12.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2555, allocations: 4 kB / 442 MB, free: 12.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009688/0.2565, allocations: 413.5 kB / 442.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.908e-05/0.2565, allocations: 33.7 kB / 442.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.2565, allocations: 0 / 442.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003843/0.2569, allocations: 80.72 kB / 442.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.2571, allocations: 43.91 kB / 442.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00247/0.2596, allocations: 1.787 MB / 444.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.2599, allocations: 51.8 kB / 444.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.2599, allocations: 8 kB / 444.4 MB, free: 10.02 MB / 350.1 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.0001891/0.2601, allocations: 148.5 kB / 444.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.2602, allocations: 23.8 kB / 444.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.367e-05/0.2602, allocations: 38.2 kB / 444.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2602, allocations: 0 / 444.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.2602, allocations: 7.938 kB / 444.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.2602, allocations: 0 / 444.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.2605, allocations: 197.2 kB / 444.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2605, allocations: 0 / 444.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.2606, allocations: 23.97 kB / 444.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002649/0.2609, allocations: 68.8 kB / 444.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.2609, allocations: 11.92 kB / 444.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/0.263, allocations: 1.772 MB / 446.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.263, allocations: 0 / 446.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007917/0.2638, allocations: 309.5 kB / 447 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.2638, allocations: 27.84 kB / 447 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.2638, allocations: 4 kB / 447 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.2641, allocations: 31.95 kB / 447 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.596e-05/0.2642, allocations: 23.97 kB / 447.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.2642, allocations: 0 / 447.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000212/0.2644, allocations: 188.5 kB / 447.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2644, allocations: 0 / 447.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004424/0.2648, allocations: 83.89 kB / 447.3 MB, free: 6.914 MB / 350.1 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.0001763/0.265, allocations: 98.81 kB / 447.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009682/0.266, allocations: 431 kB / 447.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.266, allocations: 0 / 447.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004378/0.2664, allocations: 226.5 kB / 448.1 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.2667, allocations: 48.55 kB / 448.1 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.2687, allocations: 0.584 MB / 448.7 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.2689, allocations: 146.2 kB / 448.9 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.353e-05/0.269, allocations: 19.44 kB / 448.9 MB, free: 5.281 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.269, allocations: 3.938 kB / 448.9 MB, free: 5.277 MB / 350.1 MB Notification: Performance of Templates: time 0.007494/0.2764, allocations: 4.415 MB / 453.3 MB, free: 0.8828 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.288939293008298]