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.0016/0.0016, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001438/0.001438, allocations: 165.2 kB / 24.5 MB, free: 3.453 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.533/1.533, allocations: 177.1 MB / 204.7 MB, free: 9.023 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 0.001905/0.001905, allocations: 64.77 kB / 325.5 MB, free: 236 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1373, allocations: 53.39 MB / 378.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.0027/0.14, allocations: 1.444 MB / 380.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001714/0.1401, allocations: 27.86 kB / 380.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.997e-05/0.1402, allocations: 4 kB / 380.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.1402, allocations: 3.938 kB / 380.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.572e-05/0.1403, allocations: 7.922 kB / 380.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.1405, allocations: 23.48 kB / 380.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.1406, allocations: 31.86 kB / 380.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.08e-05/0.1407, allocations: 11.98 kB / 380.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.642e-05/0.1407, allocations: 15.98 kB / 380.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.408e-05/0.1408, allocations: 3.938 kB / 380.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1408, allocations: 4 kB / 380.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.618e-06/0.1408, allocations: 4 kB / 380.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.025e-05/0.1408, allocations: 11.92 kB / 380.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.1409, allocations: 11.94 kB / 380.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9e-05/0.1409, allocations: 31.83 kB / 380.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.141, allocations: 4 kB / 380.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.141, allocations: 0 / 380.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.141, allocations: 0 / 380.5 MB, free: 13.89 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.0004091/0.1414, allocations: 270.3 kB / 380.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1414, allocations: 11.98 kB / 380.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.1414, allocations: 12.83 kB / 380.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.1416, allocations: 114.5 kB / 380.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.1416, allocations: 4.375 kB / 380.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.1417, allocations: 384 / 380.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.142, allocations: 127.8 kB / 381.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.142, allocations: 192 / 381.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.142, allocations: 11.88 kB / 381.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.142, allocations: 0 / 381.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.1421, allocations: 27.97 kB / 381.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.1423, allocations: 105.3 kB / 381.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.1424, allocations: 54.55 kB / 381.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.554e-05/0.1425, allocations: 28.86 kB / 381.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.1425, allocations: 0 / 381.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.1425, allocations: 34.55 kB / 381.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.1425, allocations: 4 kB / 381.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002772/0.1428, allocations: 81.58 kB / 381.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.1429, allocations: 59.41 kB / 381.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.62e-05/0.143, allocations: 105.8 kB / 381.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.143, allocations: 29.7 kB / 381.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.143, allocations: 84.12 kB / 381.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.132e-05/0.143, allocations: 4 kB / 381.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.432e-05/0.1431, allocations: 17.72 kB / 381.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1432, allocations: 322.8 kB / 382 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.1432, allocations: 4 kB / 382 MB, free: 12.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.253e-05/0.1433, allocations: 27.81 kB / 382.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.146e-05/0.1433, allocations: 43.38 kB / 382.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1433, allocations: 4 kB / 382.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.938e-05/0.1434, allocations: 57.58 kB / 382.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1434, allocations: 8 kB / 382.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.1434, allocations: 0 / 382.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1434, allocations: 3.938 kB / 382.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.121e-05/0.1435, allocations: 15.98 kB / 382.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.1435, allocations: 4.125 kB / 382.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.1435, allocations: 4 kB / 382.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-06/0.1435, allocations: 3.938 kB / 382.2 MB, free: 12.04 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 8.098e-05/0.1436, allocations: 113.8 kB / 382.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.1438, allocations: 69.56 kB / 382.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.698e-05/0.1438, allocations: 8 kB / 382.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1438, allocations: 7.875 kB / 382.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1438, allocations: 0 / 382.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1438, allocations: 7.984 kB / 382.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.529e-05/0.1439, allocations: 93.33 kB / 382.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1439, allocations: 8 kB / 382.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-05/0.1439, allocations: 7.984 kB / 382.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1439, allocations: 4 kB / 382.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.144, allocations: 4 kB / 382.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.144, allocations: 0 / 382.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.144, allocations: 7.875 kB / 382.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.1441, allocations: 89.09 kB / 382.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.1441, allocations: 15.89 kB / 382.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.1442, allocations: 0 / 382.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.252e-05/0.1442, allocations: 4 kB / 382.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-06/0.1442, allocations: 3.938 kB / 382.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.1442, allocations: 4 kB / 382.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.1e-05/0.1442, allocations: 87.27 kB / 382.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1443, allocations: 4 kB / 382.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001829/0.1444, allocations: 4 kB / 382.7 MB, free: 11.43 MB / 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.0001008/0.1445, allocations: 91.25 kB / 382.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.1447, allocations: 31.92 kB / 382.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1447, allocations: 0 / 382.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.1447, allocations: 256 / 382.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.1449, allocations: 36.19 kB / 382.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002961/0.1452, allocations: 117.5 kB / 383 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.434e-05/0.1453, allocations: 63.34 kB / 383.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.643e-05/0.1453, allocations: 0 / 383.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.1453, allocations: 12.5 kB / 383.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1453, allocations: 0 / 383.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Templates: time 0.002643/0.148, allocations: 470.7 kB / 383.5 MB, free: 10.57 MB / 350.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/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.412669672979973]