Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001791/0.001791, allocations: 89.92 kB / 20.69 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002086/0.002086, allocations: 158.2 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 325 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.204e-05, allocations: 8.891 kB / 325 MB, free: 352 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002446/0.002469, allocations: 1.44 MB / 326.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000181/0.00265, allocations: 34.41 kB / 326.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.804e-05/0.002708, allocations: 0 / 326.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.002736, allocations: 6.141 kB / 326.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.788e-05/0.002774, allocations: 0 / 326.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.003038, allocations: 19.42 kB / 326.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.003144, allocations: 34.66 kB / 326.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.744e-05/0.003242, allocations: 13.17 kB / 326.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.379e-05/0.003295, allocations: 12.09 kB / 326.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.022e-05/0.003346, allocations: 9.984 kB / 326.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.003367, allocations: 3.062 kB / 326.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/0.003378, allocations: 6.125 kB / 326.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.0034, allocations: 10.28 kB / 326.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.303e-05/0.003433, allocations: 8.719 kB / 326.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.289e-05/0.003526, allocations: 29.22 kB / 326.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003528, allocations: 0 / 326.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003529, allocations: 0 / 326.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.003533, allocations: 3.938 kB / 326.6 MB, free: 15.26 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004459/0.003979, allocations: 267.7 kB / 326.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.004017, allocations: 12.67 kB / 326.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.004051, allocations: 3.062 kB / 326.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.00426, allocations: 125.1 kB / 327 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.00429, allocations: 5.719 kB / 327 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.004301, allocations: 2.812 kB / 327 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003713/0.004672, allocations: 115 kB / 327.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.004681, allocations: 192 / 327.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.004689, allocations: 6.047 kB / 327.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.004694, allocations: 384 / 327.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.004808, allocations: 34.09 kB / 327.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.004938, allocations: 103.2 kB / 327.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.005101, allocations: 52.89 kB / 327.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.646e-05/0.005177, allocations: 22.81 kB / 327.4 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.00519, allocations: 0.75 kB / 327.4 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.00522, allocations: 33.3 kB / 327.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.005221, allocations: 0 / 327.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002708/0.005492, allocations: 85.75 kB / 327.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.005549, allocations: 51.41 kB / 327.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.005663, allocations: 107.8 kB / 327.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.00568, allocations: 26.31 kB / 327.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.005727, allocations: 88 kB / 327.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.069e-05/0.005738, allocations: 0 / 327.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.005771, allocations: 18.73 kB / 327.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.005943, allocations: 311.9 kB / 328.1 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.219e-05/0.005955, allocations: 4.344 kB / 328.1 MB, free: 13.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.546e-06/0.005964, allocations: 4 kB / 328.1 MB, free: 13.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.41e-05/0.005988, allocations: 14.98 kB / 328.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.005989, allocations: 3.359 kB / 328.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.865e-05/0.006048, allocations: 38.17 kB / 328.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.006061, allocations: 8.625 kB / 328.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.006065, allocations: 1.094 kB / 328.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.006079, allocations: 0 / 328.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.116e-05/0.00613, allocations: 4.016 kB / 328.2 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.006137, allocations: 3.984 kB / 328.2 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.506e-05/0.006153, allocations: 5.984 kB / 328.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-06/0.006156, allocations: 1.062 kB / 328.2 MB, free: 13.8 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.745e-05/0.006244, allocations: 107.9 kB / 328.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.006404, allocations: 68.67 kB / 328.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.00643, allocations: 9.547 kB / 328.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.006431, allocations: 5.125 kB / 328.4 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.006435, allocations: 0 / 328.4 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.00644, allocations: 5.734 kB / 328.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.159e-05/0.006522, allocations: 99.56 kB / 328.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.006523, allocations: 0 / 328.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.204e-05/0.006555, allocations: 4.797 kB / 328.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.006556, allocations: 0 / 328.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.006563, allocations: 0.9375 kB / 328.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.006565, allocations: 2.312 kB / 328.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.006569, allocations: 4 kB / 328.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.00675, allocations: 100.4 kB / 328.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.006761, allocations: 10.08 kB / 328.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.006776, allocations: 1.703 kB / 328.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.329e-05/0.006809, allocations: 8.062 kB / 328.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-06/0.006812, allocations: 288 / 328.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.006817, allocations: 1.406 kB / 328.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.676e-05/0.006864, allocations: 80.14 kB / 328.7 MB, free: 13.33 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.006864, allocations: 1.094 kB / 328.7 MB, free: 13.33 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001807/0.007044, allocations: 2.688 kB / 328.7 MB, free: 13.33 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 0.0001053/0.00715, allocations: 108.1 kB / 328.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.007275, allocations: 27.88 kB / 328.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.007277, allocations: 0 / 328.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.007277, allocations: 0 / 328.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.007507, allocations: 27.16 kB / 328.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/0.00779, allocations: 114.6 kB / 328.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.145e-05/0.007852, allocations: 63.48 kB / 329 MB, free: 13.03 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.497e-05/0.007867, allocations: 1.344 kB / 329 MB, free: 13.03 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.007895, allocations: 10.36 kB / 329 MB, free: 13.02 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.007895, allocations: 0 / 329 MB, free: 13.02 MB / 302.1 MB Notification: Performance of Templates: time 0.002558/0.01045, allocations: 367.6 kB / 329.4 MB, free: 12.95 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.3254887573421]