Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 51.92 kB / 371.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2279, allocations: 52.17 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004282/0.2322, allocations: 2.795 MB / 426.7 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.2334, allocations: 0.6855 MB / 427.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.2335, allocations: 7.938 kB / 427.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.2337, allocations: 39.58 kB / 427.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.2339, allocations: 91.25 kB / 427.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.2341, allocations: 95.83 kB / 427.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004713/0.2346, allocations: 362.5 kB / 428 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.2348, allocations: 56.92 kB / 428 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.235, allocations: 139.5 kB / 428.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.2352, allocations: 147.4 kB / 428.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.384e-05/0.2352, allocations: 32 kB / 428.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.316e-05/0.2353, allocations: 28 kB / 428.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.794e-05/0.2354, allocations: 67.7 kB / 428.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.2355, allocations: 139.3 kB / 428.6 MB, free: 9.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004356/0.236, allocations: 335.9 kB / 428.9 MB, free: 9.672 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.236, allocations: 0 / 428.9 MB, free: 9.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.236, allocations: 0 / 428.9 MB, free: 9.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.236, allocations: 4 kB / 428.9 MB, free: 9.668 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.001297/0.2373, allocations: 0.5663 MB / 429.5 MB, free: 9.066 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.2373, allocations: 12.03 kB / 429.5 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.942e-05/0.2374, allocations: 36.69 kB / 429.5 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.2378, allocations: 218 kB / 429.7 MB, free: 8.781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.2378, allocations: 16.81 kB / 429.7 MB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.2379, allocations: 20.38 kB / 429.8 MB, free: 8.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006482/0.2385, allocations: 282 kB / 430 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.2385, allocations: 0 / 430 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.2385, allocations: 12 kB / 430.1 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.2385, allocations: 4 kB / 430.1 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007423/0.2393, allocations: 245.6 kB / 430.3 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.2409, allocations: 0.9096 MB / 431.2 MB, free: 7.227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008231/0.2418, allocations: 238.6 kB / 431.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003276/0.2421, allocations: 92.78 kB / 431.5 MB, free: 6.891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.2421, allocations: 4 kB / 431.5 MB, free: 6.887 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004713/0.2426, allocations: 181.7 kB / 431.7 MB, free: 6.688 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.2426, allocations: 0 / 431.7 MB, free: 6.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002322/0.2449, allocations: 0.5721 MB / 432.3 MB, free: 6.105 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.919e-05/0.245, allocations: 110.8 kB / 432.4 MB, free: 5.973 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.2453, allocations: 269.7 kB / 432.7 MB, free: 5.695 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.2454, allocations: 29.7 kB / 432.7 MB, free: 5.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.2455, allocations: 180.1 kB / 432.9 MB, free: 5.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.2455, allocations: 51.56 kB / 432.9 MB, free: 5.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-05/0.2456, allocations: 41.7 kB / 432.9 MB, free: 5.383 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.2458, allocations: 330.8 kB / 433.3 MB, free: 5.051 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.2461, allocations: 100.1 kB / 433.4 MB, free: 4.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003909/0.2465, allocations: 171.9 kB / 433.5 MB, free: 4.758 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006777/0.2472, allocations: 271.6 kB / 433.8 MB, free: 4.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2472, allocations: 0 / 433.8 MB, free: 4.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001222/0.2484, allocations: 439.6 kB / 434.2 MB, free: 4.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/0.2485, allocations: 29.7 kB / 434.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.2485, allocations: 4 kB / 434.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003829/0.2489, allocations: 80.86 kB / 434.3 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.2491, allocations: 35.97 kB / 434.4 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00276/0.2518, allocations: 1.855 MB / 436.2 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.2521, allocations: 51.83 kB / 436.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.2522, allocations: 12 kB / 436.3 MB, free: 1.828 MB / 334.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.0001519/0.2523, allocations: 133.2 kB / 436.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.2524, allocations: 23.86 kB / 436.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.232e-05/0.2524, allocations: 33.7 kB / 436.5 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2524, allocations: 4.062 kB / 436.5 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.2524, allocations: 0 / 436.5 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2524, allocations: 0 / 436.5 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.2527, allocations: 264.5 kB / 436.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2527, allocations: 0 / 436.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.2529, allocations: 27.91 kB / 436.8 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002643/0.2531, allocations: 76.8 kB / 436.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.2532, allocations: 7.938 kB / 436.9 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002353/0.2555, allocations: 1.652 MB / 438.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2555, allocations: 0 / 438.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.2565, allocations: 364.5 kB / 438.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.2566, allocations: 27.78 kB / 438.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/0.2566, allocations: 7.938 kB / 438.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.2569, allocations: 31.97 kB / 438.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.353e-05/0.257, allocations: 23.97 kB / 439 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.257, allocations: 7.984 kB / 439 MB, free: 14.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002087/0.2572, allocations: 185.2 kB / 439.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2572, allocations: 0 / 439.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003667/0.2576, allocations: 71.95 kB / 439.2 MB, free: 14.73 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.2577, allocations: 107.2 kB / 439.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.2587, allocations: 409.7 kB / 439.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2587, allocations: 448 / 439.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004952/0.2592, allocations: 226.5 kB / 439.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.2595, allocations: 36.48 kB / 440 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.2606, allocations: 481.4 kB / 440.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.2609, allocations: 0.748 MB / 441.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/0.261, allocations: 19.44 kB / 441.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.261, allocations: 0 / 441.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of Templates: time 0.007311/0.2683, allocations: 4.193 MB / 445.4 MB, free: 8.445 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.3010423900559545]