Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 123.4 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002029/0.002029, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.647/1.647, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 51.92 kB / 373.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1395, allocations: 53.34 MB / 426.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003095/0.1426, allocations: 1.455 MB / 428.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003186/0.1429, allocations: 91.73 kB / 428.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.702e-05/0.143, allocations: 7.938 kB / 428.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/0.143, allocations: 0 / 428.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.81e-05/0.143, allocations: 3.938 kB / 428.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.1433, allocations: 27.91 kB / 428.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.592e-05/0.1434, allocations: 23.92 kB / 428.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1435, allocations: 7.984 kB / 428.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.461e-05/0.1436, allocations: 15.94 kB / 428.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.317e-05/0.1436, allocations: 11.94 kB / 428.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1436, allocations: 4 kB / 428.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-06/0.1437, allocations: 0 / 428.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.1437, allocations: 3.984 kB / 428.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.1437, allocations: 15.88 kB / 428.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.1438, allocations: 31.83 kB / 428.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1438, allocations: 4 kB / 428.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1438, allocations: 0 / 428.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.1438, allocations: 0 / 428.5 MB, free: 2.562 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.0005082/0.1443, allocations: 343.4 kB / 428.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.1444, allocations: 12.03 kB / 428.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.1444, allocations: 4.891 kB / 428.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.1447, allocations: 180.3 kB / 429 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1447, allocations: 384 / 429 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.1447, allocations: 4.375 kB / 429 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.145, allocations: 99.88 kB / 429.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.145, allocations: 4.188 kB / 429.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.145, allocations: 7.938 kB / 429.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.145, allocations: 0 / 429.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.286e-05/0.1451, allocations: 11.98 kB / 429.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.1453, allocations: 161.6 kB / 429.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.1455, allocations: 62.52 kB / 429.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.417e-05/0.1455, allocations: 16.86 kB / 429.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.1456, allocations: 8.016 kB / 429.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.1456, allocations: 38.5 kB / 429.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1456, allocations: 0 / 429.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002536/0.1459, allocations: 69.61 kB / 429.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.1459, allocations: 59.41 kB / 429.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.146, allocations: 113.8 kB / 429.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.146, allocations: 29.64 kB / 429.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.1461, allocations: 88.14 kB / 429.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.915e-06/0.1461, allocations: 3.938 kB / 429.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.1461, allocations: 13.72 kB / 429.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1463, allocations: 318.8 kB / 430.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.1463, allocations: 8 kB / 430.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.486e-05/0.1463, allocations: 27.44 kB / 430.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.205e-05/0.1464, allocations: 35.38 kB / 430.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1464, allocations: 0 / 430.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.306e-05/0.1465, allocations: 61.58 kB / 430.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1465, allocations: 8 kB / 430.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1465, allocations: 3.938 kB / 430.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1465, allocations: 0 / 430.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-05/0.1466, allocations: 12.27 kB / 430.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.1466, allocations: 0 / 430.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.954e-05/0.1466, allocations: 3.938 kB / 430.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.1466, allocations: 4 kB / 430.3 MB, free: 0.5312 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.000109/0.1467, allocations: 118 kB / 430.4 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.1469, allocations: 53.67 kB / 430.4 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.207e-05/0.1469, allocations: 15.83 kB / 430.5 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1469, allocations: 4 kB / 430.5 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1469, allocations: 0 / 430.5 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1469, allocations: 0 / 430.5 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.147, allocations: 157.6 kB / 430.6 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.147, allocations: 0 / 430.6 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.82e-05/0.1471, allocations: 11.98 kB / 430.6 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1471, allocations: 4 kB / 430.6 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1471, allocations: 3.938 kB / 430.6 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.1471, allocations: 0 / 430.6 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1471, allocations: 3.938 kB / 430.6 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.1473, allocations: 85.14 kB / 430.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.1474, allocations: 77.11 kB / 430.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.1474, allocations: 7.938 kB / 430.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.45e-05/0.1474, allocations: 4.25 kB / 430.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-06/0.1474, allocations: 0 / 430.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.1474, allocations: 8 kB / 430.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.139e-05/0.1475, allocations: 91.2 kB / 430.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1475, allocations: 3.938 kB / 430.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002012/0.1477, allocations: 4 kB / 430.9 MB, free: 15.77 MB / 366.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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.000136/0.1478, allocations: 95.25 kB / 431 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.148, allocations: 27.98 kB / 431 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.148, allocations: 4 kB / 431 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.148, allocations: 0 / 431 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.1482, allocations: 22.2 kB / 431.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.1485, allocations: 113.5 kB / 431.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.1489, allocations: 0.6807 MB / 431.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.552e-05/0.1489, allocations: 0 / 431.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.1489, allocations: 11.62 kB / 431.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1489, allocations: 0 / 431.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of Templates: time 0.003016/0.1519, allocations: 330.5 kB / 432.2 MB, free: 14.45 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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: 5.001425091177225]