Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.0009828/0.0009828, allocations: 75.75 kB / 21.69 MB, free: 2.855 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.0009996/0.0009996, allocations: 167.2 kB / 24.99 MB, free: 9.23 MB / 18.57 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.089/1.089, allocations: 177.1 MB / 205.3 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 273.1 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.411e-05/3.604e-05, allocations: 2.312 kB / 273.1 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003246/0.003282, allocations: 1.548 MB / 274.6 MB, free: 272 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000453/0.003735, allocations: 147.5 kB / 274.7 MB, free: 124 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.003846, allocations: 0 / 274.7 MB, free: 124 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.443e-05/0.00391, allocations: 11.88 kB / 274.8 MB, free: 112 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.004068, allocations: 3.938 kB / 274.8 MB, free: 108 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.004349, allocations: 39.83 kB / 274.8 MB, free: 68 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.004466, allocations: 23.92 kB / 274.8 MB, free: 44 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.004582, allocations: 11.94 kB / 274.8 MB, free: 32 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.134e-05/0.004643, allocations: 19.97 kB / 274.9 MB, free: 12 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.956e-05/0.004673, allocations: 3.984 kB / 274.9 MB, free: 8 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.004699, allocations: 4 kB / 274.9 MB, free: 4 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.00471, allocations: 4 kB / 274.9 MB, free: 0 / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.004763, allocations: 12.06 kB / 274.9 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.004789, allocations: 7.938 kB / 274.9 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.004926, allocations: 31.84 kB / 274.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.00493, allocations: 3.984 kB / 274.9 MB, free: 15.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.004932, allocations: 4 kB / 274.9 MB, free: 15.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.004938, allocations: 0 / 274.9 MB, free: 15.94 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000474/0.005412, allocations: 384.4 kB / 275.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.00546, allocations: 8.031 kB / 275.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.352e-05/0.005513, allocations: 8.891 kB / 275.3 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.005751, allocations: 140.5 kB / 275.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.005778, allocations: 4.375 kB / 275.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.005789, allocations: 384 / 275.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.006072, allocations: 109.6 kB / 275.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.00608, allocations: 192 / 275.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.006089, allocations: 384 / 275.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.0061, allocations: 384 / 275.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.494e-05/0.006125, allocations: 7.938 kB / 275.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.006517, allocations: 267.5 kB / 275.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.254e-05/0.00659, allocations: 58.11 kB / 275.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.478e-05/0.006615, allocations: 15.38 kB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.006632, allocations: 8.062 kB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.006664, allocations: 33.39 kB / 276 MB, free: 14.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.006666, allocations: 0 / 276 MB, free: 14.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002185/0.006884, allocations: 57.52 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/0.006953, allocations: 77.11 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.0071, allocations: 190.2 kB / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.007113, allocations: 29.7 kB / 276.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/0.007183, allocations: 130.8 kB / 276.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.007198, allocations: 3.953 kB / 276.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.007243, allocations: 23.38 kB / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.007418, allocations: 0.4884 MB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.007432, allocations: 0 / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.136e-06/0.00744, allocations: 0 / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.348e-05/0.007473, allocations: 15.62 kB / 277 MB, free: 13.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.007477, allocations: 4 kB / 277 MB, free: 13.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.896e-05/0.007546, allocations: 37.77 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.007564, allocations: 8 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.007571, allocations: 3.938 kB / 277 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.007589, allocations: 0 / 277 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.045e-05/0.007609, allocations: 0 / 277 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.007616, allocations: 0 / 277 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.227e-05/0.007648, allocations: 0 / 277 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.007659, allocations: 7.984 kB / 277 MB, free: 13.59 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.007764, allocations: 152.6 kB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.99e-05/0.007834, allocations: 41.62 kB / 277.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.069e-05/0.007875, allocations: 15.44 kB / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.007877, allocations: 0 / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.007884, allocations: 4 kB / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.007889, allocations: 3.984 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.008047, allocations: 124.6 kB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.008049, allocations: 0 / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.262e-06/0.008055, allocations: 0 / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.008059, allocations: 0 / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.008069, allocations: 8 kB / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.008073, allocations: 3.938 kB / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.008075, allocations: 0 / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.008215, allocations: 203.5 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/0.008248, allocations: 11.95 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.008264, allocations: 4 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.203e-05/0.008326, allocations: 3.938 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.008365, allocations: 3.984 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.008371, allocations: 4 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.854e-05/0.008439, allocations: 139.1 kB / 277.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008439, allocations: 3.938 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002426/0.008682, allocations: 4 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.965e-05/0.008781, allocations: 103.3 kB / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.03e-05/0.008862, allocations: 11.69 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.008864, allocations: 0 / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.715e-05/0.008881, allocations: 15.62 kB / 277.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.009213, allocations: 16.3 kB / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.009533, allocations: 144.7 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.621e-05/0.009589, allocations: 59.56 kB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.752e-05/0.009606, allocations: 4 kB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.009633, allocations: 12.5 kB / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of SimCode: time 1.152e-06/0.009634, allocations: 0 / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of Templates: time 0.002817/0.01245, allocations: 494.1 kB / 278.6 MB, free: 11.9 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.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.956126813078299]