Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001967/0.001967, allocations: 82.3 kB / 20.68 MB, free: 1.039 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.002292/0.002292, allocations: 157.2 kB / 23.95 MB, free: 4.168 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.511/1.511, allocations: 177 MB / 204.1 MB, free: 9.168 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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.929e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002208/0.002227, allocations: 1.441 MB / 326.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001694/0.002396, allocations: 34.34 kB / 326.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.361e-05/0.00245, allocations: 0 / 326.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.268e-05/0.002473, allocations: 5.719 kB / 326.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.482e-05/0.002507, allocations: 3.938 kB / 326.5 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.002718, allocations: 19.44 kB / 326.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.332e-05/0.002801, allocations: 35.52 kB / 326.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.442e-05/0.002886, allocations: 8.672 kB / 326.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.035e-05/0.002936, allocations: 18.33 kB / 326.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.54e-05/0.002972, allocations: 9.266 kB / 326.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.002989, allocations: 2.25 kB / 326.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-06/0.002998, allocations: 3.344 kB / 326.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.003017, allocations: 6.641 kB / 326.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.003045, allocations: 10.83 kB / 326.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.528e-05/0.00313, allocations: 26.98 kB / 326.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.003132, allocations: 0 / 326.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.003133, allocations: 1.094 kB / 326.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.946e-06/0.003136, allocations: 4 kB / 326.6 MB, free: 15.41 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.0004224/0.003558, allocations: 278.4 kB / 326.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.003593, allocations: 12.39 kB / 326.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.003621, allocations: 7.172 kB / 326.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.003786, allocations: 116.1 kB / 327 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.003806, allocations: 5.562 kB / 327 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.00382, allocations: 3.922 kB / 327 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.004178, allocations: 124.7 kB / 327.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.004187, allocations: 192 / 327.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.004195, allocations: 1.5 kB / 327.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-06/0.004198, allocations: 384 / 327.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.004327, allocations: 34.27 kB / 327.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/0.004447, allocations: 107.7 kB / 327.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.00462, allocations: 53.77 kB / 327.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.112e-05/0.004701, allocations: 25.09 kB / 327.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.004713, allocations: 0.75 kB / 327.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.00474, allocations: 32.81 kB / 327.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.004741, allocations: 0 / 327.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002889/0.00503, allocations: 89.81 kB / 327.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.005082, allocations: 61.69 kB / 327.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.456e-05/0.005167, allocations: 108.7 kB / 327.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.005187, allocations: 26.45 kB / 327.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.005233, allocations: 85.7 kB / 327.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.366e-06/0.005241, allocations: 1.438 kB / 327.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.005269, allocations: 13.59 kB / 327.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.005403, allocations: 316.8 kB / 328.1 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.868e-06/0.005413, allocations: 3.297 kB / 328.1 MB, free: 14.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.551e-06/0.005418, allocations: 1.469 kB / 328.1 MB, free: 14.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.038e-05/0.005439, allocations: 12.2 kB / 328.1 MB, free: 14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.00544, allocations: 0.9688 kB / 328.1 MB, free: 14 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.739e-05/0.005507, allocations: 47.58 kB / 328.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.005519, allocations: 9.281 kB / 328.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.005522, allocations: 1.281 kB / 328.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.005534, allocations: 0 / 328.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.246e-05/0.005576, allocations: 3.328 kB / 328.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.005583, allocations: 5.594 kB / 328.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.344e-05/0.005597, allocations: 3.938 kB / 328.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-06/0.005599, allocations: 5.312 kB / 328.2 MB, free: 13.94 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 7.618e-05/0.005675, allocations: 114.1 kB / 328.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.005828, allocations: 59.33 kB / 328.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.783e-05/0.005856, allocations: 10.52 kB / 328.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.005857, allocations: 0 / 328.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.00586, allocations: 5.156 kB / 328.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.005865, allocations: 4.594 kB / 328.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.45e-05/0.005949, allocations: 107.8 kB / 328.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.00595, allocations: 0 / 328.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.819e-05/0.006008, allocations: 10.05 kB / 328.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.006011, allocations: 6.25 kB / 328.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.006017, allocations: 0 / 328.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.00602, allocations: 1.938 kB / 328.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.006023, allocations: 4 kB / 328.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.006215, allocations: 100.2 kB / 328.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-06/0.006222, allocations: 1.953 kB / 328.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.006236, allocations: 2.047 kB / 328.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.439e-05/0.006271, allocations: 4.031 kB / 328.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-06/0.006274, allocations: 1.281 kB / 328.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.006279, allocations: 2.047 kB / 328.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.093e-05/0.00633, allocations: 84.94 kB / 328.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.00633, allocations: 4 kB / 328.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001779/0.006508, allocations: 7.156 kB / 328.7 MB, free: 13.46 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 9.279e-05/0.006601, allocations: 103.5 kB / 328.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001169/0.006717, allocations: 25.14 kB / 328.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.006719, allocations: 0 / 328.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.00672, allocations: 3.938 kB / 328.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.006971, allocations: 24.92 kB / 328.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.007256, allocations: 122.4 kB / 329 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.332e-05/0.007309, allocations: 69.34 kB / 329.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.433e-05/0.007323, allocations: 0.7031 kB / 329.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.00735, allocations: 11.83 kB / 329.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.00735, allocations: 0 / 329.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of Templates: time 0.002576/0.009927, allocations: 434.4 kB / 329.5 MB, free: 13.09 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.399440594017506]