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.0007935/0.0007935, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003374/0.003374, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8951/0.8951, allocations: 177 MB / 204.9 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.432e-06/1.432e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.767e-05/2.91e-05, allocations: 3.266 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001959/0.001988, allocations: 1.451 MB / 327.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001747/0.002163, allocations: 35.91 kB / 327.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.732e-05/0.00222, allocations: 3.938 kB / 327.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.425e-05/0.002244, allocations: 0 / 327.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.299e-05/0.002277, allocations: 3.938 kB / 327.3 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.002507, allocations: 23.86 kB / 327.3 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.338e-05/0.00259, allocations: 35.91 kB / 327.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.557e-05/0.002686, allocations: 4 kB / 327.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.781e-05/0.002733, allocations: 15.98 kB / 327.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.424e-05/0.002768, allocations: 11.92 kB / 327.4 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.00279, allocations: 4 kB / 327.4 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-06/0.002798, allocations: 8 kB / 327.4 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.002816, allocations: 7.984 kB / 327.4 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.161e-05/0.002837, allocations: 4 kB / 327.4 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.911e-05/0.002926, allocations: 31.89 kB / 327.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.002928, allocations: 0 / 327.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.002929, allocations: 0 / 327.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.002933, allocations: 0 / 327.4 MB, free: 13.73 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.000332/0.003265, allocations: 274.2 kB / 327.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.003302, allocations: 11.98 kB / 327.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.003332, allocations: 8.891 kB / 327.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.003515, allocations: 121.8 kB / 327.8 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.003535, allocations: 4.375 kB / 327.8 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.003543, allocations: 384 / 327.8 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.00378, allocations: 119.8 kB / 327.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.003787, allocations: 192 / 327.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-06/0.003796, allocations: 4.375 kB / 327.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.0038, allocations: 384 / 327.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.461e-05/0.003865, allocations: 31.86 kB / 328 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.021e-05/0.003955, allocations: 109.2 kB / 328.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.777e-05/0.004053, allocations: 58.48 kB / 328.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.416e-05/0.004097, allocations: 24.92 kB / 328.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.004105, allocations: 0 / 328.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.004126, allocations: 34.56 kB / 328.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.004127, allocations: 4 kB / 328.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001903/0.004317, allocations: 85.72 kB / 328.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.004368, allocations: 59.39 kB / 328.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.31e-05/0.004431, allocations: 109.7 kB / 328.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.004441, allocations: 25.7 kB / 328.5 MB, free: 12.51 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.004472, allocations: 88.12 kB / 328.6 MB, free: 12.42 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.103e-05/0.004483, allocations: 4 kB / 328.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.004507, allocations: 13.72 kB / 328.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.675e-05/0.004584, allocations: 318.8 kB / 328.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.656e-06/0.004592, allocations: 0 / 328.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-06/0.004599, allocations: 4 kB / 328.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.152e-05/0.00462, allocations: 8.859 kB / 328.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.004624, allocations: 3.984 kB / 328.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.148e-05/0.004666, allocations: 45.59 kB / 328.9 MB, free: 12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.004678, allocations: 4 kB / 329 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.004684, allocations: 4.094 kB / 329 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.004695, allocations: 0 / 329 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.548e-05/0.004741, allocations: 4 kB / 329 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.004745, allocations: 0 / 329 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.036e-05/0.004755, allocations: 3.938 kB / 329 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.00476, allocations: 0 / 329 MB, free: 11.99 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.805e-05/0.004818, allocations: 113.8 kB / 329.1 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/0.004897, allocations: 73.59 kB / 329.1 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.976e-05/0.004916, allocations: 4 kB / 329.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.004918, allocations: 0 / 329.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.004923, allocations: 4 kB / 329.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.004926, allocations: 3.938 kB / 329.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.814e-05/0.004974, allocations: 109.2 kB / 329.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.004975, allocations: 0 / 329.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.602e-05/0.005001, allocations: 8 kB / 329.3 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.005002, allocations: 0 / 329.3 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.005008, allocations: 256 / 329.3 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.00501, allocations: 11.98 kB / 329.3 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.005011, allocations: 0 / 329.3 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.3e-05/0.005104, allocations: 97 kB / 329.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-06/0.00511, allocations: 0 / 329.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.00512, allocations: 8 kB / 329.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.458e-05/0.005135, allocations: 7.984 kB / 329.4 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-06/0.005138, allocations: 0 / 329.4 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.005141, allocations: 0 / 329.4 MB, free: 11.49 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.759e-05/0.005169, allocations: 87.22 kB / 329.5 MB, free: 11.4 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005169, allocations: 0 / 329.5 MB, free: 11.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001261/0.005295, allocations: 4 kB / 329.5 MB, free: 11.4 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 7.717e-05/0.005372, allocations: 107.2 kB / 329.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.191e-05/0.005454, allocations: 19.98 kB / 329.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.005456, allocations: 8 kB / 329.6 MB, free: 11.26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.005456, allocations: 0 / 329.6 MB, free: 11.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.005646, allocations: 27.92 kB / 329.6 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000237/0.005883, allocations: 151.3 kB / 329.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.675e-05/0.00592, allocations: 63.34 kB / 329.9 MB, free: 10.97 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.005944, allocations: 8.5 kB / 329.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.005945, allocations: 0 / 329.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of Templates: time 0.001432/0.007377, allocations: 0.6091 MB / 330.5 MB, free: 10.36 MB / 298.7 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.094574724324048]