Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 79.91 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009039/0.0009039, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.057/1.057, allocations: 173.4 MB / 201.1 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 268 MB, free: 6.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.69e-05, allocations: 6.25 kB / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002366/0.002393, allocations: 1.545 MB / 269.5 MB, free: 4.891 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003364/0.00273, allocations: 147.4 kB / 269.7 MB, free: 4.746 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.117e-05/0.002801, allocations: 0 / 269.7 MB, free: 4.746 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.188e-05/0.002853, allocations: 3.938 kB / 269.7 MB, free: 4.742 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.002986, allocations: 7.938 kB / 269.7 MB, free: 4.734 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.003203, allocations: 31.84 kB / 269.7 MB, free: 4.703 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.669e-05/0.003299, allocations: 31.86 kB / 269.8 MB, free: 4.672 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.003405, allocations: 11.98 kB / 269.8 MB, free: 4.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.583e-05/0.003451, allocations: 11.98 kB / 269.8 MB, free: 4.648 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.748e-05/0.003478, allocations: 11.94 kB / 269.8 MB, free: 4.637 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.003501, allocations: 4 kB / 269.8 MB, free: 4.633 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-06/0.00351, allocations: 0 / 269.8 MB, free: 4.633 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.769e-05/0.003557, allocations: 15.97 kB / 269.8 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.00358, allocations: 11.94 kB / 269.8 MB, free: 4.605 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.815e-05/0.003678, allocations: 27.84 kB / 269.8 MB, free: 4.578 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.00368, allocations: 0 / 269.8 MB, free: 4.578 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.003681, allocations: 0 / 269.8 MB, free: 4.578 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.003685, allocations: 0 / 269.8 MB, free: 4.578 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004123/0.004098, allocations: 384.4 kB / 270.2 MB, free: 4.164 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.004137, allocations: 12.92 kB / 270.2 MB, free: 4.152 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.00418, allocations: 12.89 kB / 270.2 MB, free: 4.141 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.00434, allocations: 140.4 kB / 270.4 MB, free: 3.977 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.004358, allocations: 384 / 270.4 MB, free: 3.977 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.004367, allocations: 4.375 kB / 270.4 MB, free: 3.973 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.004577, allocations: 105.6 kB / 270.5 MB, free: 3.844 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.291e-06/0.004583, allocations: 192 / 270.5 MB, free: 3.844 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.004592, allocations: 4.375 kB / 270.5 MB, free: 3.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.004599, allocations: 384 / 270.5 MB, free: 3.84 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.018e-05/0.004619, allocations: 15.92 kB / 270.5 MB, free: 3.824 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.004886, allocations: 263.4 kB / 270.8 MB, free: 3.527 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.647e-05/0.004942, allocations: 54.19 kB / 270.8 MB, free: 3.449 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.666e-05/0.004969, allocations: 19.36 kB / 270.8 MB, free: 3.422 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.004985, allocations: 3.938 kB / 270.8 MB, free: 3.418 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.005006, allocations: 37.45 kB / 270.9 MB, free: 3.371 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.005008, allocations: 0 / 270.9 MB, free: 3.371 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001442/0.005152, allocations: 53.75 kB / 270.9 MB, free: 3.312 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.005193, allocations: 81.14 kB / 271 MB, free: 3.215 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.776e-05/0.005291, allocations: 185.9 kB / 271.2 MB, free: 3.016 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.0053, allocations: 29.7 kB / 271.2 MB, free: 2.98 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/0.005348, allocations: 130.9 kB / 271.3 MB, free: 2.848 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.494e-06/0.005355, allocations: 0 / 271.3 MB, free: 2.848 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.005385, allocations: 27.33 kB / 271.4 MB, free: 2.812 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.005498, allocations: 492.1 kB / 271.9 MB, free: 2.32 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.136e-05/0.00551, allocations: 4 kB / 271.9 MB, free: 2.316 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.172e-06/0.005516, allocations: 0 / 271.9 MB, free: 2.316 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.27e-05/0.005539, allocations: 15.69 kB / 271.9 MB, free: 2.297 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.005541, allocations: 8 kB / 271.9 MB, free: 2.289 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.825e-05/0.005589, allocations: 33.69 kB / 271.9 MB, free: 2.25 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.005604, allocations: 4 kB / 271.9 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.00561, allocations: 3.938 kB / 271.9 MB, free: 2.242 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.005623, allocations: 4 kB / 271.9 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.778e-05/0.005641, allocations: 0 / 271.9 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.005646, allocations: 0 / 271.9 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.531e-05/0.005671, allocations: 0 / 271.9 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-06/0.005676, allocations: 0 / 271.9 MB, free: 2.238 MB / 250.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 6.908e-05/0.005745, allocations: 160.6 kB / 272.1 MB, free: 2.07 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.005785, allocations: 45.58 kB / 272.1 MB, free: 2.02 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.005813, allocations: 11.41 kB / 272.1 MB, free: 2.004 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.005814, allocations: 0 / 272.1 MB, free: 2.004 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.005819, allocations: 4 kB / 272.1 MB, free: 2 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.005822, allocations: 0 / 272.1 MB, free: 2 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.005925, allocations: 124.6 kB / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.005927, allocations: 4 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.619e-06/0.005931, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.005933, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.00594, allocations: 7.922 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.005946, allocations: 11.97 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.005947, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.006052, allocations: 199.5 kB / 272.5 MB, free: 1.602 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.006076, allocations: 7.984 kB / 272.5 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-06/0.006086, allocations: 0 / 272.5 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.902e-05/0.006125, allocations: 7.938 kB / 272.5 MB, free: 1.586 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.006156, allocations: 0 / 272.5 MB, free: 1.586 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.006159, allocations: 0 / 272.5 MB, free: 1.586 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.102e-05/0.00621, allocations: 146.2 kB / 272.6 MB, free: 1.445 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00621, allocations: 0 / 272.6 MB, free: 1.445 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001333/0.006343, allocations: 8.031 kB / 272.7 MB, free: 1.438 MB / 250.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 8.187e-05/0.006425, allocations: 107.2 kB / 272.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.425e-05/0.006499, allocations: 11.69 kB / 272.8 MB, free: 1.309 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.006502, allocations: 0 / 272.8 MB, free: 1.309 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.367e-05/0.006515, allocations: 15.62 kB / 272.8 MB, free: 1.289 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.006757, allocations: 12.3 kB / 272.8 MB, free: 1.273 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.007037, allocations: 153.6 kB / 272.9 MB, free: 1.094 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.804e-05/0.007075, allocations: 59.34 kB / 273 MB, free: 1.016 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.438e-05/0.007089, allocations: 0 / 273 MB, free: 1.016 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.007118, allocations: 12.5 kB / 273 MB, free: 1 MB / 250.7 MB Notification: Performance of SimCode: time 9.81e-07/0.007119, allocations: 0 / 273 MB, free: 1 MB / 250.7 MB Notification: Performance of Templates: time 0.002286/0.009405, allocations: 0.4897 MB / 273.5 MB, free: 0.5195 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.696173276286572]