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.001824/0.001824, 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.002262/0.002262, allocations: 206.6 kB / 24.47 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.459/1.459, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.00154/0.00154, allocations: 47.94 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2448, allocations: 53.36 MB / 432.4 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004563/0.2494, allocations: 2.614 MB / 435 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.2508, allocations: 0.6817 MB / 435.7 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.2509, allocations: 4 kB / 435.7 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.251, allocations: 43.58 kB / 435.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.2512, allocations: 95.25 kB / 435.8 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.2515, allocations: 95.83 kB / 435.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004186/0.2519, allocations: 358.5 kB / 436.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.2521, allocations: 60.86 kB / 436.3 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.2523, allocations: 143.5 kB / 436.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.2525, allocations: 147.3 kB / 436.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.649e-05/0.2526, allocations: 28 kB / 436.6 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.334e-05/0.2526, allocations: 32 kB / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.599e-05/0.2527, allocations: 63.77 kB / 436.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.2528, allocations: 123.5 kB / 436.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.2532, allocations: 329.8 kB / 437.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2532, allocations: 0 / 437.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2532, allocations: 0 / 437.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.2533, allocations: 0 / 437.1 MB, free: 2.059 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.00136/0.2546, allocations: 0.5741 MB / 437.7 MB, free: 1.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.2546, allocations: 8.031 kB / 437.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.638e-05/0.2547, allocations: 32.75 kB / 437.8 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004775/0.2552, allocations: 225.9 kB / 438 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.2552, allocations: 16.81 kB / 438 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.2553, allocations: 24.38 kB / 438 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007393/0.256, allocations: 325.5 kB / 438.3 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.256, allocations: 3.984 kB / 438.3 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.2561, allocations: 15.94 kB / 438.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.2561, allocations: 4 kB / 438.4 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007476/0.2568, allocations: 245.6 kB / 438.6 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.2585, allocations: 0.8049 MB / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008398/0.2593, allocations: 234.5 kB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/0.2596, allocations: 100.8 kB / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.2597, allocations: 0 / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00058/0.2602, allocations: 229.2 kB / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.2602, allocations: 0 / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002327/0.2626, allocations: 0.5792 MB / 440.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.596e-05/0.2626, allocations: 106.8 kB / 440.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.2629, allocations: 260.9 kB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.263, allocations: 29.7 kB / 440.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.2631, allocations: 180.2 kB / 441.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.2631, allocations: 51.62 kB / 441.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.886e-05/0.2632, allocations: 45.7 kB / 441.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.2634, allocations: 330.8 kB / 441.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004297/0.2638, allocations: 129.5 kB / 441.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/0.2643, allocations: 249.6 kB / 441.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007835/0.2651, allocations: 267.2 kB / 442.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2651, allocations: 0 / 442.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001236/0.2663, allocations: 457.4 kB / 442.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.34e-05/0.2664, allocations: 45.62 kB / 442.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2664, allocations: 0 / 442.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000367/0.2667, allocations: 76.86 kB / 442.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.2669, allocations: 43.91 kB / 442.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/0.2696, allocations: 1.817 MB / 444.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.2699, allocations: 43.86 kB / 444.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.2699, allocations: 11.98 kB / 444.6 MB, free: 10.11 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.000149/0.2701, allocations: 141.3 kB / 444.8 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.2701, allocations: 23.86 kB / 444.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.2701, allocations: 25.77 kB / 444.8 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2702, allocations: 8.062 kB / 444.8 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2702, allocations: 4.156 kB / 444.8 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2702, allocations: 0 / 444.8 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.2704, allocations: 197.1 kB / 445 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2704, allocations: 4 kB / 445 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.2705, allocations: 19.97 kB / 445 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002749/0.2708, allocations: 76.81 kB / 445.1 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.2708, allocations: 3.984 kB / 445.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002315/0.2731, allocations: 1.632 MB / 446.8 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2731, allocations: 4.062 kB / 446.8 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.2743, allocations: 353.5 kB / 447.1 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.2743, allocations: 23.8 kB / 447.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.2743, allocations: 4 kB / 447.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.2746, allocations: 35.95 kB / 447.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.487e-05/0.2747, allocations: 23.91 kB / 447.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.2747, allocations: 11.94 kB / 447.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002442/0.2749, allocations: 176.5 kB / 447.4 MB, free: 7.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2749, allocations: 0 / 447.4 MB, free: 7.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003642/0.2753, allocations: 75.89 kB / 447.4 MB, free: 7.121 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.0001319/0.2754, allocations: 99.23 kB / 447.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.2764, allocations: 419.6 kB / 448 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.2764, allocations: 4 kB / 448 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000486/0.2769, allocations: 234.9 kB / 448.2 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.2772, allocations: 48.45 kB / 448.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.2783, allocations: 462.3 kB / 448.7 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.2785, allocations: 138.2 kB / 448.8 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.277e-05/0.2786, allocations: 25.92 kB / 448.8 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.577e-05/0.2787, allocations: 23.44 kB / 448.9 MB, free: 5.598 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.2787, allocations: 0 / 448.9 MB, free: 5.598 MB / 350.1 MB Notification: Performance of Templates: time 0.008742/0.2874, allocations: 4.145 MB / 453 MB, free: 1.512 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 -s gbode -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: 4.575545986997895]