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.001514/0.001514, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001512/0.001512, allocations: 216.4 kB / 24.48 MB, free: 3.941 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.633/1.633, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.001707/0.001707, allocations: 43.94 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3361, allocations: 53.38 MB / 432.4 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004829/0.3409, allocations: 2.603 MB / 435 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.3424, allocations: 0.6701 MB / 435.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.3425, allocations: 7.938 kB / 435.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.3427, allocations: 43.58 kB / 435.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.3429, allocations: 91.25 kB / 435.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.3432, allocations: 99.81 kB / 435.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004483/0.3437, allocations: 362.5 kB / 436.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.3439, allocations: 56.91 kB / 436.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.3441, allocations: 143.4 kB / 436.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.3443, allocations: 147.4 kB / 436.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.15e-05/0.3443, allocations: 28 kB / 436.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.855e-05/0.3444, allocations: 31.94 kB / 436.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.792e-05/0.3445, allocations: 67.75 kB / 436.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.3446, allocations: 119.4 kB / 436.8 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000456/0.3451, allocations: 332.3 kB / 437.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3451, allocations: 0 / 437.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3451, allocations: 0 / 437.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.3451, allocations: 8 kB / 437.2 MB, free: 1.914 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.001434/0.3465, allocations: 0.5702 MB / 437.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3466, allocations: 8.031 kB / 437.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.3467, allocations: 32.75 kB / 437.8 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005017/0.3472, allocations: 229.9 kB / 438 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.3472, allocations: 16.81 kB / 438 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.3473, allocations: 16.38 kB / 438 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007381/0.348, allocations: 333.5 kB / 438.3 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.348, allocations: 0 / 438.3 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.348, allocations: 15.98 kB / 438.4 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.3481, allocations: 4 kB / 438.4 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008066/0.3489, allocations: 249.5 kB / 438.6 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.3507, allocations: 0.8011 MB / 439.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009695/0.3517, allocations: 234.5 kB / 439.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/0.352, allocations: 104.7 kB / 439.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.3521, allocations: 0 / 439.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005891/0.3527, allocations: 233.2 kB / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.3527, allocations: 0 / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002536/0.3552, allocations: 0.5798 MB / 440.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.3553, allocations: 102.8 kB / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.3557, allocations: 261 kB / 440.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.3557, allocations: 33.7 kB / 440.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.3559, allocations: 184.1 kB / 441.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.276e-05/0.3559, allocations: 43.64 kB / 441.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.3561, allocations: 45.7 kB / 441.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003281/0.3564, allocations: 338.8 kB / 441.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003898/0.3568, allocations: 129.6 kB / 441.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.3573, allocations: 255.3 kB / 441.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007715/0.3581, allocations: 290.1 kB / 442.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3581, allocations: 0 / 442.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001458/0.3595, allocations: 480 kB / 442.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.644e-05/0.3596, allocations: 41.62 kB / 442.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.3596, allocations: 7.938 kB / 442.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004598/0.3601, allocations: 76.8 kB / 442.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.3603, allocations: 47.97 kB / 442.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003536/0.3638, allocations: 1.864 MB / 444.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004075/0.3642, allocations: 51.78 kB / 444.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.3643, allocations: 8 kB / 444.8 MB, free: 9.828 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.000198/0.3644, allocations: 148.1 kB / 444.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.3645, allocations: 23.86 kB / 444.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.597e-05/0.3646, allocations: 25.77 kB / 444.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.3646, allocations: 4.219 kB / 445 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3646, allocations: 3.938 kB / 445 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3646, allocations: 7.922 kB / 445 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.3648, allocations: 197.2 kB / 445.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3648, allocations: 0 / 445.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.365, allocations: 27.97 kB / 445.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002907/0.3653, allocations: 72.8 kB / 445.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.3653, allocations: 0 / 445.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002768/0.368, allocations: 1.789 MB / 447 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3681, allocations: 0 / 447 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.3692, allocations: 364.6 kB / 447.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.3692, allocations: 19.86 kB / 447.4 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/0.3693, allocations: 7.938 kB / 447.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.3695, allocations: 35.89 kB / 447.5 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.403e-05/0.3696, allocations: 19.97 kB / 447.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.3696, allocations: 8 kB / 447.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002396/0.3699, allocations: 188.5 kB / 447.7 MB, free: 6.746 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3699, allocations: 0 / 447.7 MB, free: 6.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004523/0.3703, allocations: 67.89 kB / 447.7 MB, free: 6.68 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.0001994/0.3705, allocations: 107.2 kB / 447.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.3721, allocations: 498.1 kB / 448.3 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3721, allocations: 4.062 kB / 448.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005287/0.3726, allocations: 222.6 kB / 448.6 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.373, allocations: 48.44 kB / 448.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.3764, allocations: 0.9137 MB / 449.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.3766, allocations: 138.2 kB / 449.6 MB, free: 4.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.3768, allocations: 14.3 kB / 449.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.647e-05/0.3768, allocations: 23.44 kB / 449.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of SimCode: time 1.253e-06/0.3768, allocations: 0 / 449.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of Templates: time 0.009712/0.3865, allocations: 4.154 MB / 453.8 MB, free: 0.5391 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 cvode -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: 5.2597249719983665]