Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001161/0.001161, allocations: 80.8 kB / 22.29 MB, free: 2.207 MB / 18.57 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.001339/0.001339, allocations: 163.1 kB / 25.69 MB, free: 8.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8617/0.8617, allocations: 158.6 MB / 187.6 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.883e-05, allocations: 6.25 kB / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.002708/0.002727, allocations: 2.704 MB / 254.3 MB, free: 4.512 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.003783, allocations: 0.7213 MB / 255 MB, free: 3.781 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.003899, allocations: 4 kB / 255 MB, free: 3.777 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.004043, allocations: 39.58 kB / 255 MB, free: 3.738 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.004194, allocations: 99.12 kB / 255.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.004417, allocations: 95.75 kB / 255.2 MB, free: 3.547 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.004704, allocations: 370.3 kB / 255.6 MB, free: 3.184 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.00483, allocations: 62.86 kB / 255.7 MB, free: 3.121 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.005018, allocations: 195.5 kB / 255.8 MB, free: 2.93 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.005143, allocations: 115.7 kB / 256 MB, free: 2.816 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.005183, allocations: 28 kB / 256 MB, free: 2.789 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.033e-05/0.005214, allocations: 31.94 kB / 256 MB, free: 2.758 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.005262, allocations: 63.75 kB / 256.1 MB, free: 2.695 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.178e-05/0.005344, allocations: 103.8 kB / 256.2 MB, free: 2.59 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.00555, allocations: 223.1 kB / 256.4 MB, free: 2.371 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.005552, allocations: 0 / 256.4 MB, free: 2.371 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005553, allocations: 0 / 256.4 MB, free: 2.371 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.005557, allocations: 8 kB / 256.4 MB, free: 2.363 MB / 234.7 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.0006775/0.006235, allocations: 0.5181 MB / 256.9 MB, free: 1.816 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.006268, allocations: 19.92 kB / 256.9 MB, free: 1.797 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.006322, allocations: 32.91 kB / 257 MB, free: 1.766 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.006518, allocations: 181.3 kB / 257.2 MB, free: 1.562 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.006534, allocations: 24.86 kB / 257.2 MB, free: 1.539 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.006561, allocations: 24.38 kB / 257.2 MB, free: 1.516 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.0068, allocations: 224.7 kB / 257.4 MB, free: 1.273 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.006808, allocations: 4.125 kB / 257.4 MB, free: 1.27 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.006824, allocations: 12.38 kB / 257.4 MB, free: 1.258 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.006831, allocations: 7.938 kB / 257.4 MB, free: 1.25 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.162e-05/0.006913, allocations: 55.47 kB / 257.5 MB, free: 1.195 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006633/0.007576, allocations: 0.5524 MB / 258 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.007753, allocations: 94.55 kB / 258.1 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.473e-05/0.007788, allocations: 28.83 kB / 258.2 MB, free: 484 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.007804, allocations: 3.984 kB / 258.2 MB, free: 480 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.007931, allocations: 169.2 kB / 258.3 MB, free: 276 kB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.007933, allocations: 0 / 258.3 MB, free: 276 kB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005502/0.008483, allocations: 278.4 kB / 258.6 MB, free: 15.98 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.008525, allocations: 110.8 kB / 258.7 MB, free: 15.85 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.00865, allocations: 221 kB / 258.9 MB, free: 15.62 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.008669, allocations: 29.7 kB / 259 MB, free: 15.59 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.008736, allocations: 164.2 kB / 259.1 MB, free: 15.43 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.00876, allocations: 47.64 kB / 259.2 MB, free: 15.38 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-05/0.008808, allocations: 41.69 kB / 259.2 MB, free: 15.33 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.586e-05/0.008884, allocations: 338.8 kB / 259.5 MB, free: 14.99 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.825e-05/0.008933, allocations: 50.77 kB / 259.6 MB, free: 14.93 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.082e-05/0.009013, allocations: 168.7 kB / 259.8 MB, free: 14.72 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.809e-05/0.009111, allocations: 135.5 kB / 259.9 MB, free: 14.56 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.009114, allocations: 4 kB / 259.9 MB, free: 14.56 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002436/0.009358, allocations: 241.6 kB / 260.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.009382, allocations: 33.7 kB / 260.2 MB, free: 14.26 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.009388, allocations: 3.938 kB / 260.2 MB, free: 14.26 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002146/0.009602, allocations: 72.94 kB / 260.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.009677, allocations: 31.97 kB / 260.3 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008308/0.01051, allocations: 1.454 MB / 261.7 MB, free: 12.61 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.01062, allocations: 35.91 kB / 261.8 MB, free: 12.58 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.01063, allocations: 8 kB / 261.8 MB, free: 12.57 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.652e-05/0.01071, allocations: 137.7 kB / 261.9 MB, free: 12.43 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.264e-05/0.01078, allocations: 160.8 kB / 262.1 MB, free: 12.22 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.408e-05/0.01087, allocations: 134.8 kB / 262.2 MB, free: 12.07 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.252e-06/0.01087, allocations: 4.031 kB / 262.2 MB, free: 12.06 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0001543/0.01102, allocations: 197.7 kB / 262.4 MB, free: 11.85 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.01104, allocations: 33.7 kB / 262.4 MB, free: 11.81 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.01104, allocations: 7.938 kB / 262.4 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-05/0.01113, allocations: 48.94 kB / 262.5 MB, free: 11.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.787e-05/0.0112, allocations: 31.98 kB / 262.5 MB, free: 11.72 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006035/0.0118, allocations: 1.356 MB / 263.9 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.992e-05/0.0119, allocations: 31.88 kB / 263.9 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.01191, allocations: 12.03 kB / 263.9 MB, free: 10.23 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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 7.633e-05/0.01199, allocations: 196.1 kB / 264.1 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.012, allocations: 15.97 kB / 264.1 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.01203, allocations: 25.78 kB / 264.1 MB, free: 9.992 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.01203, allocations: 0 / 264.1 MB, free: 9.992 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01203, allocations: 4 kB / 264.1 MB, free: 9.988 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.01204, allocations: 3.984 kB / 264.1 MB, free: 9.984 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.01214, allocations: 133.7 kB / 264.3 MB, free: 9.836 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01215, allocations: 0 / 264.3 MB, free: 9.836 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/0.01218, allocations: 15.98 kB / 264.3 MB, free: 9.82 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001456/0.01233, allocations: 76.73 kB / 264.4 MB, free: 9.742 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.01234, allocations: 4 kB / 264.4 MB, free: 9.738 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006235/0.01296, allocations: 1.28 MB / 265.6 MB, free: 8.367 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01296, allocations: 0 / 265.6 MB, free: 8.367 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.01314, allocations: 169.5 kB / 265.8 MB, free: 8.184 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.01316, allocations: 23.8 kB / 265.8 MB, free: 8.16 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.01317, allocations: 0 / 265.8 MB, free: 8.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.01325, allocations: 27.97 kB / 265.9 MB, free: 8.133 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.01329, allocations: 15.97 kB / 265.9 MB, free: 8.117 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.0133, allocations: 4 kB / 265.9 MB, free: 8.113 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.061e-05/0.01336, allocations: 82.77 kB / 266 MB, free: 8.031 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01336, allocations: 4 kB / 266 MB, free: 8.027 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002895/0.01365, allocations: 127.7 kB / 266.1 MB, free: 7.902 MB / 250.7 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 8.198e-05/0.01373, allocations: 80.42 kB / 266.2 MB, free: 7.816 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004/0.01413, allocations: 0.559 MB / 266.7 MB, free: 7.195 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/0.01413, allocations: 8.062 kB / 266.7 MB, free: 7.188 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.01424, allocations: 163.4 kB / 266.9 MB, free: 7.012 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.01438, allocations: 52.33 kB / 266.9 MB, free: 6.957 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006252/0.015, allocations: 408.8 kB / 267.3 MB, free: 6.531 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.438e-05/0.01505, allocations: 84.56 kB / 267.4 MB, free: 6.43 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.776e-05/0.01512, allocations: 21.95 kB / 267.5 MB, free: 6.406 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.01522, allocations: 95.34 kB / 267.5 MB, free: 6.312 MB / 250.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01522, allocations: 0 / 267.5 MB, free: 6.312 MB / 250.7 MB Notification: Performance of Templates: time 0.005869/0.02109, allocations: 4.418 MB / 272 MB, free: 1.918 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.65283513488248]