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.001579/0.001579, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001675/0.001675, allocations: 210.9 kB / 24.48 MB, free: 3.977 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.44/1.44, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.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 0.001524/0.001524, allocations: 55.91 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2432, allocations: 53.35 MB / 432.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004279/0.2475, allocations: 2.617 MB / 435 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.2489, allocations: 0.6855 MB / 435.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.249, allocations: 7.938 kB / 435.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.2491, allocations: 39.58 kB / 435.7 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.2494, allocations: 95.25 kB / 435.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.2496, allocations: 95.81 kB / 435.9 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004118/0.25, allocations: 354.6 kB / 436.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.2502, allocations: 56.91 kB / 436.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.2504, allocations: 143.5 kB / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.2506, allocations: 147.3 kB / 436.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.264e-05/0.2506, allocations: 28 kB / 436.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.372e-05/0.2507, allocations: 32 kB / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.111e-05/0.2508, allocations: 67.7 kB / 436.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.2509, allocations: 127.4 kB / 436.8 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003976/0.2513, allocations: 325.5 kB / 437.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2513, allocations: 0 / 437.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2513, allocations: 0 / 437.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.2513, allocations: 0 / 437.1 MB, free: 1.938 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.001284/0.2526, allocations: 0.58 MB / 437.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2526, allocations: 12.03 kB / 437.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.661e-05/0.2527, allocations: 28.75 kB / 437.8 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.2531, allocations: 221.9 kB / 438 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.2531, allocations: 20.81 kB / 438 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/0.2532, allocations: 24.38 kB / 438 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.2538, allocations: 329.4 kB / 438.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2538, allocations: 0 / 438.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.2539, allocations: 12 kB / 438.4 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2539, allocations: 4 kB / 438.4 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007251/0.2546, allocations: 245.6 kB / 438.6 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.2561, allocations: 0.8088 MB / 439.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008027/0.2569, allocations: 226.6 kB / 439.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.2572, allocations: 100.8 kB / 439.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.2573, allocations: 3.984 kB / 439.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005089/0.2578, allocations: 233.2 kB / 440 MB, free: 14.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.2578, allocations: 0 / 440 MB, free: 14.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002269/0.26, allocations: 0.576 MB / 440.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.142e-05/0.2601, allocations: 106.8 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.2604, allocations: 265 kB / 440.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.2605, allocations: 25.92 kB / 440.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.2606, allocations: 188.2 kB / 441.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.2606, allocations: 51.55 kB / 441.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.241e-05/0.2607, allocations: 49.7 kB / 441.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.2609, allocations: 334.7 kB / 441.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003656/0.2613, allocations: 129.6 kB / 441.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004503/0.2617, allocations: 267.3 kB / 441.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006874/0.2624, allocations: 282 kB / 442.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2624, allocations: 4 kB / 442.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001304/0.2637, allocations: 484.3 kB / 442.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.015e-05/0.2637, allocations: 33.64 kB / 442.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.2638, allocations: 4 kB / 442.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000374/0.2641, allocations: 80.86 kB / 442.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.2643, allocations: 39.97 kB / 442.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003084/0.2674, allocations: 1.867 MB / 444.7 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/0.2677, allocations: 47.86 kB / 444.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/0.2678, allocations: 15.98 kB / 444.8 MB, free: 9.84 MB / 350.1 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.0001584/0.2679, allocations: 137.8 kB / 444.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.268, allocations: 23.89 kB / 444.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.589e-05/0.268, allocations: 29.77 kB / 444.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.268, allocations: 0 / 444.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.268, allocations: 7.938 kB / 445 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.268, allocations: 0 / 445 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.2683, allocations: 201.3 kB / 445.2 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2683, allocations: 4 kB / 445.2 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.2684, allocations: 27.97 kB / 445.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002843/0.2687, allocations: 72.8 kB / 445.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.2687, allocations: 4 kB / 445.3 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002482/0.2712, allocations: 1.778 MB / 447 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2712, allocations: 0 / 447 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.2723, allocations: 361.6 kB / 447.4 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.2723, allocations: 23.84 kB / 447.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.2723, allocations: 7.938 kB / 447.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.2726, allocations: 31.97 kB / 447.5 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.871e-05/0.2727, allocations: 19.97 kB / 447.5 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.2727, allocations: 12.05 kB / 447.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001976/0.2729, allocations: 184.5 kB / 447.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2729, allocations: 0 / 447.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003949/0.2733, allocations: 67.89 kB / 447.7 MB, free: 6.703 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.0001391/0.2734, allocations: 107.2 kB / 447.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001317/0.2747, allocations: 0.495 MB / 448.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2747, allocations: 0 / 448.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004846/0.2752, allocations: 231 kB / 448.6 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.2755, allocations: 52.39 kB / 448.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/0.2785, allocations: 0.9004 MB / 449.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.2786, allocations: 138.2 kB / 449.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.833e-05/0.2787, allocations: 26.28 kB / 449.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.849e-05/0.2788, allocations: 15.44 kB / 449.7 MB, free: 4.652 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2788, allocations: 4 kB / 449.7 MB, free: 4.648 MB / 350.1 MB Notification: Performance of Templates: time 0.008703/0.2875, allocations: 4.156 MB / 453.8 MB, free: 0.5508 MB / 350.1 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 -s gbode -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/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_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.482596077010385]