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.001336/0.001336, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.001432/0.001432, allocations: 220.6 kB / 23 MB, free: 5.609 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.611/1.611, allocations: 230.2 MB / 256.2 MB, free: 8.535 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.001935/0.001935, allocations: 59.91 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4509, allocations: 53.32 MB / 429.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.00297/0.4538, allocations: 1.453 MB / 431.2 MB, free: 6.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002026/0.454, allocations: 27.86 kB / 431.3 MB, free: 6.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.759e-05/0.4541, allocations: 4 kB / 431.3 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.355e-05/0.4542, allocations: 7.922 kB / 431.3 MB, free: 6.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.433e-05/0.4542, allocations: 3.938 kB / 431.3 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.4545, allocations: 19.23 kB / 431.3 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.4546, allocations: 31.91 kB / 431.3 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.4547, allocations: 4 kB / 431.3 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.754e-05/0.4548, allocations: 11.94 kB / 431.4 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.069e-05/0.4548, allocations: 15.92 kB / 431.4 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.4549, allocations: 8 kB / 431.4 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.134e-05/0.4549, allocations: 4 kB / 431.4 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.4549, allocations: 7.938 kB / 431.4 MB, free: 5.945 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/0.455, allocations: 19.91 kB / 431.4 MB, free: 5.926 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.4551, allocations: 25.45 kB / 431.4 MB, free: 5.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4551, allocations: 0 / 431.4 MB, free: 5.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4551, allocations: 0 / 431.4 MB, free: 5.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.4551, allocations: 0 / 431.4 MB, free: 5.902 MB / 334.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.0005739/0.4557, allocations: 347.1 kB / 431.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.4557, allocations: 12.03 kB / 431.8 MB, free: 5.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.4557, allocations: 8.828 kB / 431.8 MB, free: 5.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.456, allocations: 172.4 kB / 432 MB, free: 5.289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.456, allocations: 8.312 kB / 432 MB, free: 5.281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.4561, allocations: 4.375 kB / 432 MB, free: 5.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003806/0.4564, allocations: 127.8 kB / 432.1 MB, free: 5.141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.4565, allocations: 8.188 kB / 432.1 MB, free: 5.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.4565, allocations: 3.938 kB / 432.1 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.4565, allocations: 4 kB / 432.1 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.4566, allocations: 27.97 kB / 432.1 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.4568, allocations: 153.6 kB / 432.3 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.457, allocations: 54.55 kB / 432.3 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.383e-05/0.4571, allocations: 32.84 kB / 432.4 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.4571, allocations: 3.984 kB / 432.4 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.4571, allocations: 38.56 kB / 432.4 MB, free: 4.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4571, allocations: 0 / 432.4 MB, free: 4.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003153/0.4574, allocations: 77.59 kB / 432.5 MB, free: 4.668 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.342e-05/0.4575, allocations: 55.41 kB / 432.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.4576, allocations: 105.8 kB / 432.6 MB, free: 4.488 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.4577, allocations: 29.7 kB / 432.7 MB, free: 4.453 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.4577, allocations: 80.14 kB / 432.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.4577, allocations: 7.953 kB / 432.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.4578, allocations: 17.72 kB / 432.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.458, allocations: 326.8 kB / 433.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.65e-05/0.458, allocations: 4 kB / 433.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.543e-05/0.458, allocations: 27.44 kB / 433.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.059e-05/0.4581, allocations: 39.38 kB / 433.2 MB, free: 3.918 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.4581, allocations: 3.984 kB / 433.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.37e-05/0.4582, allocations: 53.64 kB / 433.2 MB, free: 3.855 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.4582, allocations: 4 kB / 433.2 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.4582, allocations: 3.938 kB / 433.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.4582, allocations: 7.984 kB / 433.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.444e-05/0.4583, allocations: 12.12 kB / 433.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.4583, allocations: 4 kB / 433.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.502e-05/0.4583, allocations: 7.875 kB / 433.3 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.341e-06/0.4584, allocations: 7.938 kB / 433.3 MB, free: 3.809 MB / 334.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 0.000108/0.4585, allocations: 113.8 kB / 433.4 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.4586, allocations: 61.62 kB / 433.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/0.4587, allocations: 11.84 kB / 433.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.4587, allocations: 7.938 kB / 433.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.4587, allocations: 7.984 kB / 433.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4587, allocations: 0 / 433.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.4588, allocations: 153.7 kB / 433.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4588, allocations: 0 / 433.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.204e-05/0.4589, allocations: 11.98 kB / 433.6 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4589, allocations: 0 / 433.6 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.4589, allocations: 4.312 kB / 433.6 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4589, allocations: 0 / 433.6 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4589, allocations: 7.938 kB / 433.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.4591, allocations: 89.11 kB / 433.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.4592, allocations: 89.05 kB / 433.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.4592, allocations: 3.938 kB / 433.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.139e-05/0.4593, allocations: 4 kB / 433.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-06/0.4593, allocations: 0 / 433.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.4593, allocations: 0 / 433.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.909e-05/0.4593, allocations: 87.27 kB / 433.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4593, allocations: 0 / 433.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002092/0.4596, allocations: 4 kB / 433.9 MB, free: 3.051 MB / 334.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.0001694/0.4597, allocations: 107.2 kB / 434 MB, free: 2.938 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.4599, allocations: 27.92 kB / 434 MB, free: 2.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.4599, allocations: 0 / 434 MB, free: 2.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.4599, allocations: 0 / 434 MB, free: 2.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.4602, allocations: 28.28 kB / 434.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.4606, allocations: 125.6 kB / 434.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.461, allocations: 0.6887 MB / 434.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.804e-05/0.461, allocations: 3.984 kB / 434.9 MB, free: 2.016 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.461, allocations: 11.44 kB / 434.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.461, allocations: 3.938 kB / 434.9 MB, free: 2 MB / 334.1 MB Notification: Performance of Templates: time 0.00312/0.4642, allocations: 432.3 kB / 435.3 MB, free: 1.578 MB / 334.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: 5.092858297750354]