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.0009898/0.0009898, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 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.001022/0.001022, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 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 0.9688/0.9688, allocations: 177 MB / 205.2 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] 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.432e-06/1.432e-06, allocations: 0 / 273 MB, free: 1.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.75e-05, allocations: 2.312 kB / 273 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001869/0.001886, allocations: 1.477 MB / 274.5 MB, free: 244 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001444/0.002031, allocations: 39.84 kB / 274.5 MB, free: 204 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.002081, allocations: 0 / 274.5 MB, free: 204 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.0021, allocations: 0 / 274.5 MB, free: 204 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.707e-05/0.002127, allocations: 3.938 kB / 274.5 MB, free: 200 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.002306, allocations: 19.97 kB / 274.5 MB, free: 180 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.304e-05/0.002369, allocations: 27.92 kB / 274.6 MB, free: 152 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.766e-05/0.002437, allocations: 11.98 kB / 274.6 MB, free: 140 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.84e-05/0.002475, allocations: 8 kB / 274.6 MB, free: 132 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.831e-05/0.002504, allocations: 19.91 kB / 274.6 MB, free: 112 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.002522, allocations: 4 kB / 274.6 MB, free: 108 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.232e-06/0.002528, allocations: 0 / 274.6 MB, free: 108 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.002542, allocations: 8 kB / 274.6 MB, free: 100 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.002564, allocations: 7.984 kB / 274.6 MB, free: 92 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.745e-05/0.002641, allocations: 35.78 kB / 274.6 MB, free: 56 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.002643, allocations: 0 / 274.6 MB, free: 56 kB / 250.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.002644, allocations: 0 / 274.6 MB, free: 56 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.002648, allocations: 0 / 274.6 MB, free: 56 kB / 250.7 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.000298/0.002946, allocations: 356.7 kB / 275 MB, free: 15.67 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.002976, allocations: 19.97 kB / 275 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.003007, allocations: 4.891 kB / 275 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.003133, allocations: 128.5 kB / 275.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.003149, allocations: 8.375 kB / 275.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.964e-06/0.003156, allocations: 384 / 275.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.003334, allocations: 106.2 kB / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.00334, allocations: 192 / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.003349, allocations: 12.31 kB / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.003356, allocations: 384 / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.384e-05/0.00338, allocations: 7.938 kB / 275.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.003492, allocations: 112.6 kB / 275.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.927e-05/0.003551, allocations: 43.09 kB / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.547e-05/0.003576, allocations: 23.66 kB / 275.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.683e-06/0.003583, allocations: 3.984 kB / 275.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.003602, allocations: 37.39 kB / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 5.91e-07/0.003603, allocations: 0 / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001114/0.003714, allocations: 57.58 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.003751, allocations: 51.41 kB / 275.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.896e-05/0.00382, allocations: 169.9 kB / 275.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.003831, allocations: 29.7 kB / 275.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.003865, allocations: 126.9 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.218e-06/0.003874, allocations: 4 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.003896, allocations: 19.38 kB / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.004063, allocations: 0.4884 MB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.154e-06/0.004071, allocations: 4 kB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-06/0.004075, allocations: 0 / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.844e-05/0.004094, allocations: 15.62 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.004095, allocations: 0 / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.613e-05/0.004131, allocations: 37.7 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.004142, allocations: 8 kB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.004147, allocations: 4.078 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.004157, allocations: 4 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.65e-05/0.004194, allocations: 0 / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.004198, allocations: 4 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.137e-06/0.004207, allocations: 7.891 kB / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-06/0.004209, allocations: 0 / 276.5 MB, free: 13.97 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: 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 5.451e-05/0.004264, allocations: 152.6 kB / 276.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.0043, allocations: 49.62 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.85e-05/0.004319, allocations: 11.69 kB / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.00432, allocations: 0 / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.004323, allocations: 0 / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.004326, allocations: 7.938 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.013e-05/0.004377, allocations: 116.6 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.004377, allocations: 256 / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.966e-05/0.004397, allocations: 8 kB / 276.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.004398, allocations: 0 / 276.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.004404, allocations: 4 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-07/0.004404, allocations: 0 / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.004405, allocations: 0 / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.184e-05/0.004487, allocations: 92.3 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.004497, allocations: 11.95 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.00451, allocations: 0 / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.27e-05/0.004523, allocations: 4 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-06/0.004526, allocations: 0 / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.004528, allocations: 4 kB / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.167e-05/0.00456, allocations: 127.2 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00456, allocations: 0 / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001124/0.004672, allocations: 7.984 kB / 277.1 MB, free: 13.31 MB / 266.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: 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 6.52e-05/0.004737, allocations: 95.19 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.643e-05/0.004804, allocations: 19.69 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.004805, allocations: 4.062 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-07/0.004806, allocations: 0 / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.004948, allocations: 24.62 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001926/0.00514, allocations: 113.3 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.725e-05/0.005168, allocations: 59.34 kB / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.015e-05/0.005178, allocations: 4 kB / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.005199, allocations: 12.5 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.0052, allocations: 0 / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of Templates: time 0.001607/0.006807, allocations: 380.2 kB / 277.8 MB, free: 12.55 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 240] 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","",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.83656912506558]