Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001023/0.001023, allocations: 88.39 kB / 22.21 MB, free: 2.285 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.001031/0.001031, allocations: 164.3 kB / 25.61 MB, free: 8.473 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.9999/0.9999, allocations: 158.6 MB / 187.5 MB, free: 2.805 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.InvertingSchmittTrigger,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.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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 3.938 kB / 251.5 MB, free: 7.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.556e-05, allocations: 2.312 kB / 251.5 MB, free: 7.195 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003688/0.003714, allocations: 2.689 MB / 254.2 MB, free: 4.488 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.005021, allocations: 0.7059 MB / 254.9 MB, free: 3.773 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.005174, allocations: 7.938 kB / 254.9 MB, free: 3.766 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.005302, allocations: 35.64 kB / 254.9 MB, free: 3.73 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.00547, allocations: 107.1 kB / 255.1 MB, free: 3.625 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.005756, allocations: 95.81 kB / 255.1 MB, free: 3.531 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.00609, allocations: 370.3 kB / 255.5 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.006261, allocations: 56.83 kB / 255.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003123/0.006573, allocations: 207.5 kB / 255.8 MB, free: 2.906 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.0067, allocations: 107.7 kB / 255.9 MB, free: 2.801 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.568e-05/0.006756, allocations: 32 kB / 255.9 MB, free: 2.77 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.268e-05/0.006789, allocations: 28 kB / 255.9 MB, free: 2.742 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/0.006838, allocations: 71.69 kB / 256 MB, free: 2.672 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.929e-05/0.006918, allocations: 95.75 kB / 256.1 MB, free: 2.578 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.007182, allocations: 227.2 kB / 256.3 MB, free: 2.355 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.007183, allocations: 0 / 256.3 MB, free: 2.355 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007185, allocations: 0 / 256.3 MB, free: 2.355 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.007189, allocations: 0 / 256.3 MB, free: 2.355 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.0008955/0.008085, allocations: 0.6428 MB / 257 MB, free: 1.672 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.008132, allocations: 15.98 kB / 257 MB, free: 1.656 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.494e-05/0.008206, allocations: 60.73 kB / 257 MB, free: 1.594 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.008451, allocations: 216 kB / 257.2 MB, free: 1.355 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.008473, allocations: 12.88 kB / 257.3 MB, free: 1.344 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.008499, allocations: 24.38 kB / 257.3 MB, free: 1.32 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004816/0.00898, allocations: 228.7 kB / 257.5 MB, free: 1.074 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.008991, allocations: 192 / 257.5 MB, free: 1.074 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.009008, allocations: 8.375 kB / 257.5 MB, free: 1.066 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.629e-06/0.009018, allocations: 7.938 kB / 257.5 MB, free: 1.059 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.545e-05/0.009113, allocations: 67.44 kB / 257.6 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008942/0.01001, allocations: 0.7581 MB / 258.3 MB, free: 184 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.01024, allocations: 111.1 kB / 258.5 MB, free: 60 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.826e-05/0.01031, allocations: 31.67 kB / 258.5 MB, free: 24 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.01033, allocations: 4 kB / 258.5 MB, free: 20 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.01051, allocations: 183.4 kB / 258.7 MB, free: 15.8 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.01051, allocations: 0 / 258.7 MB, free: 15.8 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006419/0.01116, allocations: 308.9 kB / 259 MB, free: 15.49 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.01121, allocations: 106.8 kB / 259.1 MB, free: 15.36 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.01138, allocations: 296.1 kB / 259.4 MB, free: 15.05 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.0114, allocations: 29.7 kB / 259.4 MB, free: 15.02 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.01151, allocations: 230.9 kB / 259.6 MB, free: 14.79 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.01154, allocations: 43.67 kB / 259.7 MB, free: 14.75 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.708e-05/0.0116, allocations: 55.3 kB / 259.7 MB, free: 14.68 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.01174, allocations: 0.504 MB / 260.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-05/0.0118, allocations: 57.38 kB / 260.3 MB, free: 14.1 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.01191, allocations: 213.7 kB / 260.5 MB, free: 13.83 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.01204, allocations: 182.1 kB / 260.7 MB, free: 13.61 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01204, allocations: 0 / 260.7 MB, free: 13.61 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003353/0.01238, allocations: 296.4 kB / 261 MB, free: 13.3 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.01241, allocations: 37.69 kB / 261 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.01242, allocations: 0 / 261 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002504/0.01267, allocations: 83.59 kB / 261.1 MB, free: 13.17 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.252e-05/0.01275, allocations: 39.92 kB / 261.1 MB, free: 13.13 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.0139, allocations: 2.13 MB / 263.2 MB, free: 10.88 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.01402, allocations: 43.81 kB / 263.3 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.01403, allocations: 8 kB / 263.3 MB, free: 10.83 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.913e-05/0.01412, allocations: 188.5 kB / 263.5 MB, free: 10.64 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001063/0.01423, allocations: 213.5 kB / 263.7 MB, free: 10.36 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001064/0.01433, allocations: 166.7 kB / 263.8 MB, free: 10.16 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.01433, allocations: 0 / 263.8 MB, free: 10.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002146/0.01455, allocations: 251.8 kB / 264.1 MB, free: 9.891 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.01457, allocations: 37.7 kB / 264.1 MB, free: 9.848 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-06/0.01457, allocations: 0 / 264.1 MB, free: 9.848 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.746e-05/0.01467, allocations: 51.88 kB / 264.2 MB, free: 9.793 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.457e-05/0.01474, allocations: 35.97 kB / 264.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006456/0.01539, allocations: 1.741 MB / 266 MB, free: 7.906 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.01549, allocations: 35.92 kB / 266 MB, free: 7.871 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.01551, allocations: 8 kB / 266 MB, free: 7.863 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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.0001019/0.01561, allocations: 288 kB / 266.3 MB, free: 7.574 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.01564, allocations: 27.8 kB / 266.3 MB, free: 7.547 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.01566, allocations: 29.77 kB / 266.3 MB, free: 7.516 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.11e-07/0.01566, allocations: 0 / 266.3 MB, free: 7.516 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.01567, allocations: 4 kB / 266.3 MB, free: 7.512 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.01567, allocations: 144 / 266.3 MB, free: 7.512 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.01579, allocations: 169.1 kB / 266.5 MB, free: 7.32 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01579, allocations: 0 / 266.5 MB, free: 7.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.206e-05/0.01583, allocations: 23.92 kB / 266.5 MB, free: 7.297 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001537/0.01598, allocations: 79.56 kB / 266.6 MB, free: 7.215 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.01599, allocations: 4 kB / 266.6 MB, free: 7.211 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009303/0.01692, allocations: 2.095 MB / 268.7 MB, free: 5 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.01692, allocations: 128 / 268.7 MB, free: 5 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.01714, allocations: 219.6 kB / 268.9 MB, free: 4.762 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.01717, allocations: 23.84 kB / 268.9 MB, free: 4.738 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.01718, allocations: 7.938 kB / 268.9 MB, free: 4.73 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.788e-05/0.01726, allocations: 23.97 kB / 269 MB, free: 4.707 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.01731, allocations: 19.97 kB / 269 MB, free: 4.688 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.01732, allocations: 0 / 269 MB, free: 4.688 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.749e-05/0.0174, allocations: 197.1 kB / 269.2 MB, free: 4.496 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0174, allocations: 4 kB / 269.2 MB, free: 4.492 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003248/0.01773, allocations: 123.8 kB / 269.3 MB, free: 4.371 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 0.000111/0.01784, allocations: 103.2 kB / 269.4 MB, free: 4.258 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006145/0.01845, allocations: 0.7068 MB / 270.1 MB, free: 3.477 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01846, allocations: 0 / 270.1 MB, free: 3.477 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.01863, allocations: 221.5 kB / 270.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.01892, allocations: 57.27 kB / 270.4 MB, free: 3.184 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.0201, allocations: 0.6668 MB / 271.1 MB, free: 2.488 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.37e-05/0.02014, allocations: 80.62 kB / 271.1 MB, free: 2.391 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.989e-05/0.02021, allocations: 29.97 kB / 271.2 MB, free: 2.363 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.02033, allocations: 118.2 kB / 271.3 MB, free: 2.246 MB / 250.7 MB Notification: Performance of SimCode: time 4.21e-07/0.02033, allocations: 4 kB / 271.3 MB, free: 2.242 MB / 250.7 MB Notification: Performance of Templates: time 0.005857/0.02619, allocations: 4.522 MB / 275.8 MB, free: 13.75 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.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: 3.0636893399059772]