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.001022/0.001022, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.0009798/0.0009798, allocations: 168.1 kB / 25.33 MB, free: 9.449 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.9437/0.9437, allocations: 158.6 MB / 187.2 MB, free: 2.547 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 1.863e-06/1.863e-06, allocations: 0 / 251.1 MB, free: 3.562 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.316e-05, allocations: 6.312 kB / 251.1 MB, free: 3.555 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004106/0.004139, allocations: 2.726 MB / 253.8 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.005477, allocations: 0.6981 MB / 254.5 MB, free: 104 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.005663, allocations: 4 kB / 254.5 MB, free: 100 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.005801, allocations: 55.5 kB / 254.6 MB, free: 44 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.006025, allocations: 91.31 kB / 254.7 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.006393, allocations: 103.8 kB / 254.8 MB, free: 15.85 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003862/0.006779, allocations: 370.2 kB / 255.1 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.006959, allocations: 60.83 kB / 255.2 MB, free: 15.42 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002669/0.007226, allocations: 195.5 kB / 255.4 MB, free: 15.23 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.007376, allocations: 115.7 kB / 255.5 MB, free: 15.12 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.573e-05/0.007421, allocations: 36 kB / 255.5 MB, free: 15.08 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.59e-05/0.007457, allocations: 28 kB / 255.5 MB, free: 15.05 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.221e-05/0.007509, allocations: 67.69 kB / 255.6 MB, free: 14.99 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.878e-05/0.007608, allocations: 103.7 kB / 255.7 MB, free: 14.89 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.007865, allocations: 219.2 kB / 255.9 MB, free: 14.67 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.007869, allocations: 0 / 255.9 MB, free: 14.67 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.00787, allocations: 0 / 255.9 MB, free: 14.67 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.007877, allocations: 0 / 255.9 MB, free: 14.67 MB / 250.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.0008003/0.008677, allocations: 0.6507 MB / 256.6 MB, free: 13.98 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.008722, allocations: 11.98 kB / 256.6 MB, free: 13.97 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.688e-05/0.008808, allocations: 44.75 kB / 256.6 MB, free: 13.93 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.009131, allocations: 224.1 kB / 256.9 MB, free: 13.68 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.00915, allocations: 12.88 kB / 256.9 MB, free: 13.67 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.009178, allocations: 20.38 kB / 256.9 MB, free: 13.65 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003551/0.009533, allocations: 248.7 kB / 257.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.009542, allocations: 192 / 257.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.009562, allocations: 8.359 kB / 257.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.009572, allocations: 11.94 kB / 257.1 MB, free: 13.36 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.009717, allocations: 86.89 kB / 257.2 MB, free: 13.28 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.01073, allocations: 0.7465 MB / 258 MB, free: 12.48 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.011, allocations: 119.1 kB / 258.1 MB, free: 12.35 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.577e-05/0.01107, allocations: 35.67 kB / 258.1 MB, free: 12.31 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.01109, allocations: 11.98 kB / 258.1 MB, free: 12.3 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.01132, allocations: 179.3 kB / 258.3 MB, free: 12.09 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.01132, allocations: 0 / 258.3 MB, free: 12.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007679/0.01209, allocations: 324.9 kB / 258.6 MB, free: 11.76 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.01215, allocations: 114.8 kB / 258.7 MB, free: 11.62 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.01247, allocations: 296.3 kB / 259 MB, free: 11.32 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.01249, allocations: 29.7 kB / 259.1 MB, free: 11.28 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.0126, allocations: 230.9 kB / 259.3 MB, free: 11.05 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.01264, allocations: 43.67 kB / 259.3 MB, free: 11.01 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-05/0.0127, allocations: 51.31 kB / 259.4 MB, free: 10.95 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.01287, allocations: 0.504 MB / 259.9 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.208e-05/0.01296, allocations: 65.38 kB / 259.9 MB, free: 10.36 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.01312, allocations: 221.6 kB / 260.2 MB, free: 10.08 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.01328, allocations: 185.4 kB / 260.3 MB, free: 9.855 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01328, allocations: 0 / 260.3 MB, free: 9.855 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003987/0.01368, allocations: 308.3 kB / 260.6 MB, free: 9.531 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.01371, allocations: 33.7 kB / 260.7 MB, free: 9.492 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.01372, allocations: 4.219 kB / 260.7 MB, free: 9.488 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003083/0.01403, allocations: 87.73 kB / 260.8 MB, free: 9.398 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.241e-05/0.01412, allocations: 43.84 kB / 260.8 MB, free: 9.355 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.0155, allocations: 2.161 MB / 263 MB, free: 7.07 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.01566, allocations: 47.97 kB / 263 MB, free: 7.023 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.01569, allocations: 19.94 kB / 263 MB, free: 7.004 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001339/0.01583, allocations: 180.6 kB / 263.2 MB, free: 6.816 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001447/0.01597, allocations: 217.5 kB / 263.4 MB, free: 6.539 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000156/0.01613, allocations: 181.6 kB / 263.6 MB, free: 6.32 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/0.01613, allocations: 3.938 kB / 263.6 MB, free: 6.316 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002694/0.0164, allocations: 260.3 kB / 263.9 MB, free: 6.039 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.01642, allocations: 33.7 kB / 263.9 MB, free: 6 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.01642, allocations: 8.25 kB / 263.9 MB, free: 5.992 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001036/0.01653, allocations: 35.66 kB / 263.9 MB, free: 5.953 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.782e-05/0.01661, allocations: 47.91 kB / 264 MB, free: 5.906 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007634/0.01738, allocations: 1.76 MB / 265.7 MB, free: 4.027 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.0175, allocations: 39.95 kB / 265.8 MB, free: 3.988 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.01751, allocations: 8 kB / 265.8 MB, free: 3.98 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.0002211/0.01773, allocations: 291.9 kB / 266.1 MB, free: 3.688 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.01776, allocations: 23.86 kB / 266.1 MB, free: 3.664 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.01779, allocations: 29.77 kB / 266.1 MB, free: 3.633 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.01779, allocations: 0 / 266.1 MB, free: 3.633 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.01779, allocations: 0 / 266.1 MB, free: 3.633 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01779, allocations: 4 kB / 266.1 MB, free: 3.629 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.01794, allocations: 200.5 kB / 266.3 MB, free: 3.398 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01794, allocations: 3.938 kB / 266.3 MB, free: 3.395 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.01799, allocations: 19.98 kB / 266.4 MB, free: 3.375 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001818/0.01817, allocations: 79.62 kB / 266.4 MB, free: 3.293 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.01818, allocations: 4 kB / 266.4 MB, free: 3.289 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.01919, allocations: 2.133 MB / 268.6 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01919, allocations: 3.984 kB / 268.6 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.01945, allocations: 218.3 kB / 268.8 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.345e-05/0.01948, allocations: 19.84 kB / 268.8 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.0195, allocations: 8 kB / 268.8 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.471e-05/0.01958, allocations: 20.02 kB / 268.8 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.01964, allocations: 23.91 kB / 268.9 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.01965, allocations: 7.984 kB / 268.9 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001195/0.01977, allocations: 209.1 kB / 269.1 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01977, allocations: 0 / 269.1 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003646/0.02014, allocations: 123.8 kB / 269.2 MB, free: 396 kB / 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.0001103/0.02025, allocations: 103.2 kB / 269.3 MB, free: 280 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006928/0.02094, allocations: 0.7211 MB / 270 MB, free: 15.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.02094, allocations: 0.9375 kB / 270 MB, free: 15.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.02113, allocations: 233.5 kB / 270.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.02137, allocations: 52.45 kB / 270.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.02275, allocations: 0.6707 MB / 271 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.23e-05/0.02281, allocations: 80.62 kB / 271 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.332e-05/0.02289, allocations: 25.94 kB / 271.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.02294, allocations: 24.5 kB / 271.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.02294, allocations: 0 / 271.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of Templates: time 0.00676/0.0297, allocations: 4.255 MB / 275.3 MB, free: 10.09 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.0002980083227158]