Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.001236/0.001236, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001369/0.001369, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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 1.403/1.403, allocations: 230.6 MB / 258.3 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] 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.SchmittTrigger,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.SchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,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.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 51.92 kB / 379.1 MB, free: 2.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2493, allocations: 53.37 MB / 432.4 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.00441/0.2537, allocations: 2.793 MB / 435.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.2552, allocations: 0.7206 MB / 435.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.2553, allocations: 7.938 kB / 436 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.2555, allocations: 43.58 kB / 436 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.2557, allocations: 95.25 kB / 436.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.256, allocations: 95.81 kB / 436.2 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004269/0.2564, allocations: 354.5 kB / 436.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.2566, allocations: 56.91 kB / 436.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.2568, allocations: 143.5 kB / 436.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.257, allocations: 147.3 kB / 436.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.748e-05/0.257, allocations: 32 kB / 436.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.527e-05/0.2571, allocations: 32 kB / 436.9 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.921e-05/0.2571, allocations: 63.75 kB / 437 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.2573, allocations: 151.2 kB / 437.1 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003822/0.2577, allocations: 323.9 kB / 437.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2577, allocations: 0 / 437.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.2577, allocations: 0 / 437.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.2577, allocations: 0 / 437.5 MB, free: 1.84 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.00124/0.2589, allocations: 0.5702 MB / 438 MB, free: 1.234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.259, allocations: 8.031 kB / 438 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.797e-05/0.2591, allocations: 32.75 kB / 438.1 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.2595, allocations: 237.9 kB / 438.3 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.2595, allocations: 12.81 kB / 438.3 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.903e-05/0.2595, allocations: 20.38 kB / 438.3 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006217/0.2601, allocations: 278.1 kB / 438.6 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.2601, allocations: 4 kB / 438.6 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.2602, allocations: 8 kB / 438.6 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2602, allocations: 4 kB / 438.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007256/0.2609, allocations: 245.5 kB / 438.9 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.2626, allocations: 0.9096 MB / 439.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008159/0.2634, allocations: 230.6 kB / 440 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/0.2637, allocations: 101 kB / 440.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.2637, allocations: 3.938 kB / 440.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004639/0.2642, allocations: 184.2 kB / 440.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.512e-06/0.2642, allocations: 0 / 440.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002183/0.2664, allocations: 0.5838 MB / 440.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.716e-05/0.2664, allocations: 106.8 kB / 441 MB, free: 14.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.2667, allocations: 261.9 kB / 441.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.2668, allocations: 29.7 kB / 441.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.2669, allocations: 180 kB / 441.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.2669, allocations: 43.62 kB / 441.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.632e-05/0.267, allocations: 45.66 kB / 441.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.2672, allocations: 342.8 kB / 441.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/0.2675, allocations: 95.92 kB / 441.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/0.2679, allocations: 174.1 kB / 442.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006458/0.2685, allocations: 262.9 kB / 442.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2685, allocations: 8 kB / 442.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001176/0.2697, allocations: 435.6 kB / 442.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.768e-05/0.2698, allocations: 33.7 kB / 442.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2698, allocations: 4.062 kB / 442.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003675/0.2701, allocations: 72.8 kB / 442.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.2703, allocations: 43.91 kB / 443 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/0.273, allocations: 1.847 MB / 444.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.2733, allocations: 51.8 kB / 444.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.2733, allocations: 8 kB / 444.9 MB, free: 10 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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.0001559/0.2734, allocations: 133.9 kB / 445 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.2735, allocations: 27.86 kB / 445 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.2735, allocations: 25.7 kB / 445 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2735, allocations: 3.938 kB / 445 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2735, allocations: 4 kB / 445.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2735, allocations: 0 / 445.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.2738, allocations: 268.6 kB / 445.3 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.2738, allocations: 8.031 kB / 445.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.274, allocations: 27.97 kB / 445.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000276/0.2743, allocations: 76.8 kB / 445.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.2743, allocations: 3.938 kB / 445.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00224/0.2765, allocations: 1.65 MB / 447.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2765, allocations: 0 / 447.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.2775, allocations: 357.6 kB / 447.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.2776, allocations: 31.78 kB / 447.5 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.2776, allocations: 8.125 kB / 447.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.2779, allocations: 35.97 kB / 447.5 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/0.2779, allocations: 19.95 kB / 447.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.2779, allocations: 4 kB / 447.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001964/0.2781, allocations: 189.2 kB / 447.7 MB, free: 6.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2781, allocations: 0 / 447.7 MB, free: 6.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003506/0.2785, allocations: 71.95 kB / 447.8 MB, free: 6.891 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: 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.0001399/0.2786, allocations: 107.2 kB / 447.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009482/0.2796, allocations: 404.8 kB / 448.3 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2796, allocations: 0 / 448.3 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004544/0.28, allocations: 230.8 kB / 448.5 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.2804, allocations: 40.47 kB / 448.5 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.2814, allocations: 485.4 kB / 449 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.2818, allocations: 0.7479 MB / 449.8 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.573e-05/0.2818, allocations: 19.44 kB / 449.8 MB, free: 4.781 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2818, allocations: 0 / 449.8 MB, free: 4.781 MB / 350.1 MB Notification: Performance of Templates: time 0.006797/0.2886, allocations: 4.199 MB / 454 MB, free: 0.6016 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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: 6.949459753930569]