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.001492/0.001492, allocations: 116.2 kB / 18.5 MB, free: 4.543 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.001582/0.001582, allocations: 201 kB / 21.45 MB, free: 1.59 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.59/1.59, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.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 0.001963/0.001963, allocations: 63.91 kB / 373.8 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1336, allocations: 53.32 MB / 427.1 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.003688/0.1373, allocations: 1.439 MB / 428.6 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002883/0.1375, allocations: 27.86 kB / 428.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1376, allocations: 0 / 428.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.762e-05/0.1377, allocations: 7.922 kB / 428.6 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.362e-05/0.1378, allocations: 11.94 kB / 428.6 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.1381, allocations: 15.97 kB / 428.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.1382, allocations: 31.92 kB / 428.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.1384, allocations: 4 kB / 428.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.72e-05/0.1384, allocations: 15.92 kB / 428.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.556e-05/0.1385, allocations: 15.92 kB / 428.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.1385, allocations: 4 kB / 428.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.015e-05/0.1385, allocations: 0 / 428.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.181e-05/0.1386, allocations: 11.98 kB / 428.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.1386, allocations: 11.88 kB / 428.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.1388, allocations: 35.78 kB / 428.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.1388, allocations: 0 / 428.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1388, allocations: 3.938 kB / 428.8 MB, free: 2.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1388, allocations: 0 / 428.8 MB, free: 2.863 MB / 350.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.0006974/0.1395, allocations: 350.2 kB / 429.1 MB, free: 2.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.1395, allocations: 12.03 kB / 429.1 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.1396, allocations: 4.891 kB / 429.1 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.14, allocations: 184.3 kB / 429.3 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.14, allocations: 384 / 429.3 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.14, allocations: 4.375 kB / 429.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.1404, allocations: 115.9 kB / 429.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1404, allocations: 4.172 kB / 429.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.1404, allocations: 3.938 kB / 429.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.1405, allocations: 4 kB / 429.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.1406, allocations: 27.91 kB / 429.5 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002362/0.1408, allocations: 161.7 kB / 429.6 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.141, allocations: 54.59 kB / 429.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.614e-05/0.1411, allocations: 24.88 kB / 429.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.1411, allocations: 0 / 429.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.1412, allocations: 30.56 kB / 429.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1412, allocations: 0 / 429.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003299/0.1415, allocations: 93.42 kB / 429.8 MB, free: 1.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/0.1416, allocations: 59.41 kB / 429.9 MB, free: 1.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.1417, allocations: 105.8 kB / 430 MB, free: 1.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.1417, allocations: 29.7 kB / 430 MB, free: 1.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/0.1417, allocations: 80.14 kB / 430.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.1418, allocations: 4 kB / 430.1 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.1418, allocations: 13.72 kB / 430.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1419, allocations: 322.8 kB / 430.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/0.142, allocations: 0 / 430.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.663e-05/0.142, allocations: 35.44 kB / 430.5 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.057e-05/0.1421, allocations: 39.73 kB / 430.5 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1421, allocations: 0 / 430.5 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.845e-05/0.1421, allocations: 65.53 kB / 430.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1422, allocations: 11.98 kB / 430.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1422, allocations: 7.938 kB / 430.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1422, allocations: 0 / 430.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.207e-05/0.1422, allocations: 8 kB / 430.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.1423, allocations: 4 kB / 430.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.856e-05/0.1423, allocations: 0 / 430.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-06/0.1423, allocations: 3.938 kB / 430.6 MB, free: 0.7852 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.639e-05/0.1424, allocations: 118 kB / 430.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.1425, allocations: 69.56 kB / 430.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.911e-05/0.1426, allocations: 15.83 kB / 430.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1426, allocations: 0 / 430.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1426, allocations: 0 / 430.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1426, allocations: 0 / 430.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.1427, allocations: 153.7 kB / 431 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1427, allocations: 4 kB / 431 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.569e-05/0.1427, allocations: 7.984 kB / 431 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1427, allocations: 4 kB / 431 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.1428, allocations: 12.11 kB / 431 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1428, allocations: 0 / 431 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1428, allocations: 0 / 431 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.1429, allocations: 97.02 kB / 431.1 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.143, allocations: 81.06 kB / 431.2 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.143, allocations: 7.938 kB / 431.2 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.891e-05/0.143, allocations: 0 / 431.2 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-06/0.143, allocations: 4 kB / 431.2 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.1431, allocations: 8 kB / 431.2 MB, free: 104 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.821e-05/0.1431, allocations: 83.27 kB / 431.3 MB, free: 20 kB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1431, allocations: 0 / 431.3 MB, free: 20 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001792/0.1433, allocations: 4 kB / 431.3 MB, free: 16 kB / 350.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.0001351/0.1434, allocations: 99.25 kB / 431.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.1436, allocations: 31.92 kB / 431.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1436, allocations: 256 / 431.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.1436, allocations: 4 kB / 431.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.1439, allocations: 31.94 kB / 431.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.1442, allocations: 119 kB / 431.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.1446, allocations: 0.6768 MB / 432.2 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.104e-05/0.1446, allocations: 4 kB / 432.2 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.1446, allocations: 7.438 kB / 432.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1446, allocations: 0 / 432.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of Templates: time 0.003173/0.1478, allocations: 448.7 kB / 432.7 MB, free: 14.55 MB / 366.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.732545076869428]