Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.0007703/0.0007703, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003373/0.003373, allocations: 161.2 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8747/0.8747, allocations: 177.2 MB / 205 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 4 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.772e-05/1.987e-05, allocations: 4.672 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001718/0.001738, allocations: 1.458 MB / 327.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001697/0.001908, allocations: 31.84 kB / 327.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.809e-05/0.001966, allocations: 4 kB / 327.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.001994, allocations: 3.938 kB / 327.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.454e-05/0.002028, allocations: 0 / 327.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.002267, allocations: 27.84 kB / 327.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.2e-05/0.002349, allocations: 35.86 kB / 327.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.66e-05/0.002446, allocations: 7.984 kB / 327.4 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.713e-05/0.002493, allocations: 15.98 kB / 327.4 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.802e-05/0.002531, allocations: 11.98 kB / 327.4 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.002552, allocations: 0 / 327.4 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-06/0.00256, allocations: 4 kB / 327.4 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.002578, allocations: 3.938 kB / 327.4 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.002602, allocations: 8 kB / 327.4 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.482e-05/0.002696, allocations: 35.88 kB / 327.5 MB, free: 13.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.002698, allocations: 0 / 327.5 MB, free: 13.78 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.0027, allocations: 4 kB / 327.5 MB, free: 13.78 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.002704, allocations: 0 / 327.5 MB, free: 13.78 MB / 298.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.0003523/0.003056, allocations: 270.3 kB / 327.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.003104, allocations: 12.03 kB / 327.7 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.003134, allocations: 4.891 kB / 327.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.003292, allocations: 113.8 kB / 327.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.003312, allocations: 4.375 kB / 327.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.003322, allocations: 4.375 kB / 327.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.003573, allocations: 135.8 kB / 328 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.00358, allocations: 192 / 328 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.003589, allocations: 384 / 328 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.003593, allocations: 384 / 328 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.474e-05/0.003658, allocations: 31.86 kB / 328 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.794e-05/0.003746, allocations: 105.2 kB / 328.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.768e-05/0.003844, allocations: 50.55 kB / 328.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.493e-05/0.003889, allocations: 28.86 kB / 328.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.003897, allocations: 4 kB / 328.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.003916, allocations: 30.56 kB / 328.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.12e-07/0.003917, allocations: 4 kB / 328.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001797/0.004097, allocations: 81.61 kB / 328.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.004144, allocations: 59.34 kB / 328.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.177e-05/0.004206, allocations: 109.8 kB / 328.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.004214, allocations: 25.7 kB / 328.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.073e-05/0.004245, allocations: 88.14 kB / 328.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.146e-05/0.004256, allocations: 3.984 kB / 328.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.004279, allocations: 13.72 kB / 328.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.658e-05/0.004356, allocations: 318.8 kB / 328.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-06/0.004364, allocations: 0 / 328.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-06/0.00437, allocations: 8 kB / 328.9 MB, free: 12.13 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.714e-05/0.004388, allocations: 8.859 kB / 329 MB, free: 12.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.004389, allocations: 0 / 329 MB, free: 12.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.754e-05/0.004427, allocations: 45.83 kB / 329 MB, free: 12.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.004438, allocations: 4 kB / 329 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.004442, allocations: 0 / 329 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.004454, allocations: 7.984 kB / 329 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.099e-05/0.004495, allocations: 0 / 329 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.004502, allocations: 3.938 kB / 329 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.015e-05/0.004512, allocations: 8.188 kB / 329 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-06/0.004516, allocations: 4.094 kB / 329 MB, free: 12.04 MB / 298.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.552e-05/0.004571, allocations: 113.8 kB / 329.1 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.736e-05/0.004638, allocations: 61.67 kB / 329.2 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.004657, allocations: 11.98 kB / 329.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.004659, allocations: 0 / 329.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.004663, allocations: 4 kB / 329.2 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.004667, allocations: 3.938 kB / 329.2 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.43e-05/0.004712, allocations: 105.3 kB / 329.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.3e-07/0.004712, allocations: 0 / 329.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.568e-05/0.004738, allocations: 8 kB / 329.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.004738, allocations: 4 kB / 329.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.004744, allocations: 0 / 329.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.004744, allocations: 0 / 329.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.004745, allocations: 3.938 kB / 329.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.865e-05/0.004833, allocations: 104.9 kB / 329.4 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-06/0.004838, allocations: 4 kB / 329.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-06/0.004847, allocations: 3.938 kB / 329.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.462e-05/0.004862, allocations: 4 kB / 329.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-06/0.004865, allocations: 3.984 kB / 329.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.004867, allocations: 0 / 329.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.642e-05/0.004894, allocations: 87.28 kB / 329.5 MB, free: 11.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004894, allocations: 4 kB / 329.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001207/0.005014, allocations: 0 / 329.5 MB, free: 11.45 MB / 298.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.085e-05/0.005075, allocations: 99.19 kB / 329.6 MB, free: 11.35 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.987e-05/0.005155, allocations: 31.91 kB / 329.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.005156, allocations: 0 / 329.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.81e-07/0.005157, allocations: 0 / 329.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.005329, allocations: 24.02 kB / 329.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002014/0.00553, allocations: 143.1 kB / 329.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.635e-05/0.005567, allocations: 67.41 kB / 329.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/0.005588, allocations: 12.5 kB / 329.9 MB, free: 11.02 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.005588, allocations: 0 / 329.9 MB, free: 11.02 MB / 298.7 MB Notification: Performance of Templates: time 0.001286/0.006874, allocations: 0.6058 MB / 330.5 MB, free: 10.42 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 3.9677448933944106]