Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 83.89 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002607/0.002607, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.993/0.993, allocations: 173.3 MB / 201.1 MB, free: 8.977 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 268 MB, free: 6.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.234e-05/3.453e-05, allocations: 6.109 kB / 268 MB, free: 6.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002382/0.002416, allocations: 1.534 MB / 269.5 MB, free: 4.754 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003618/0.002778, allocations: 147.4 kB / 269.7 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.834e-05/0.002856, allocations: 7.938 kB / 269.7 MB, free: 4.602 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.016e-05/0.002907, allocations: 3.938 kB / 269.7 MB, free: 4.598 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.003042, allocations: 7.984 kB / 269.7 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.003283, allocations: 35.84 kB / 269.7 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.238e-05/0.003376, allocations: 35.8 kB / 269.7 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.00348, allocations: 7.984 kB / 269.8 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.115e-05/0.003531, allocations: 11.98 kB / 269.8 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.769e-05/0.003578, allocations: 15.92 kB / 269.8 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.003603, allocations: 0 / 269.8 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.348e-05/0.003616, allocations: 4 kB / 269.8 MB, free: 4.48 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.251e-05/0.003668, allocations: 4 kB / 269.8 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.003698, allocations: 15.92 kB / 269.8 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.003822, allocations: 27.84 kB / 269.8 MB, free: 4.434 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.003825, allocations: 4 kB / 269.8 MB, free: 4.43 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.003827, allocations: 0 / 269.8 MB, free: 4.43 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.003833, allocations: 0 / 269.8 MB, free: 4.43 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005146/0.004347, allocations: 388.4 kB / 270.2 MB, free: 4.012 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.004399, allocations: 8.922 kB / 270.2 MB, free: 4.004 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/0.004448, allocations: 12.89 kB / 270.2 MB, free: 3.992 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.004669, allocations: 128.5 kB / 270.4 MB, free: 3.84 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.004686, allocations: 8.297 kB / 270.4 MB, free: 3.832 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.004703, allocations: 8.375 kB / 270.4 MB, free: 3.824 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.004966, allocations: 109.6 kB / 270.5 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.004979, allocations: 4.125 kB / 270.5 MB, free: 3.688 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.00499, allocations: 384 / 270.5 MB, free: 3.688 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.005, allocations: 384 / 270.5 MB, free: 3.688 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.561e-05/0.005026, allocations: 11.94 kB / 270.5 MB, free: 3.676 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.00532, allocations: 263.5 kB / 270.8 MB, free: 3.379 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.697e-05/0.005377, allocations: 54.12 kB / 270.8 MB, free: 3.301 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.417e-05/0.005401, allocations: 15.38 kB / 270.8 MB, free: 3.277 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.005423, allocations: 8 kB / 270.8 MB, free: 3.27 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.005449, allocations: 37.45 kB / 270.9 MB, free: 3.223 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.00545, allocations: 0 / 270.9 MB, free: 3.223 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001497/0.0056, allocations: 53.52 kB / 270.9 MB, free: 3.164 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.005644, allocations: 85.05 kB / 271 MB, free: 3.062 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.821e-05/0.005742, allocations: 185.9 kB / 271.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.005751, allocations: 25.7 kB / 271.2 MB, free: 2.832 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.005799, allocations: 130.9 kB / 271.3 MB, free: 2.699 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.064e-05/0.00581, allocations: 3.953 kB / 271.3 MB, free: 2.695 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.005841, allocations: 31.61 kB / 271.4 MB, free: 2.656 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.005949, allocations: 496.1 kB / 271.9 MB, free: 2.16 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.00596, allocations: 0 / 271.9 MB, free: 2.16 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-06/0.005965, allocations: 0 / 271.9 MB, free: 2.16 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.249e-05/0.005988, allocations: 11.69 kB / 271.9 MB, free: 2.145 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.00599, allocations: 0 / 271.9 MB, free: 2.145 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.663e-05/0.006036, allocations: 41.62 kB / 271.9 MB, free: 2.098 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.006054, allocations: 8 kB / 271.9 MB, free: 2.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.00606, allocations: 3.938 kB / 271.9 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.006075, allocations: 96 / 271.9 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.278e-05/0.006137, allocations: 4 kB / 271.9 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.006145, allocations: 4 kB / 271.9 MB, free: 2.078 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.383e-05/0.006159, allocations: 0 / 271.9 MB, free: 2.078 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.006165, allocations: 4 kB / 271.9 MB, free: 2.074 MB / 250.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: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.327e-05/0.006228, allocations: 152.6 kB / 272.1 MB, free: 1.914 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.006269, allocations: 41.64 kB / 272.1 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.006299, allocations: 15.75 kB / 272.1 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.006301, allocations: 3.938 kB / 272.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.006305, allocations: 0 / 272.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.006307, allocations: 4.031 kB / 272.2 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.777e-05/0.006405, allocations: 120.6 kB / 272.3 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.006407, allocations: 4 kB / 272.3 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.746e-05/0.006434, allocations: 11.92 kB / 272.3 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.006437, allocations: 0 / 272.3 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.006442, allocations: 0 / 272.3 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.006444, allocations: 3.938 kB / 272.3 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.006446, allocations: 3.984 kB / 272.3 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.53e-05/0.006541, allocations: 199.6 kB / 272.5 MB, free: 1.449 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.641e-05/0.006567, allocations: 19.88 kB / 272.5 MB, free: 1.43 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.006577, allocations: 4.031 kB / 272.5 MB, free: 1.426 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.303e-05/0.00661, allocations: 3.938 kB / 272.5 MB, free: 1.422 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.006644, allocations: 7.984 kB / 272.5 MB, free: 1.414 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.006648, allocations: 0 / 272.5 MB, free: 1.414 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.494e-05/0.006703, allocations: 142.5 kB / 272.7 MB, free: 1.277 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006703, allocations: 0 / 272.7 MB, free: 1.277 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001459/0.006849, allocations: 4 kB / 272.7 MB, free: 1.273 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 9.631e-05/0.006945, allocations: 107.2 kB / 272.8 MB, free: 1.16 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001038/0.007049, allocations: 11.69 kB / 272.8 MB, free: 1.145 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.007051, allocations: 4.062 kB / 272.8 MB, free: 1.141 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.46e-05/0.007066, allocations: 7.688 kB / 272.8 MB, free: 1.129 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.00734, allocations: 19.39 kB / 272.8 MB, free: 1.109 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.007725, allocations: 153.3 kB / 273 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.519e-05/0.00778, allocations: 59.34 kB / 273 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.908e-05/0.0078, allocations: 0 / 273 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.007837, allocations: 12.5 kB / 273 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of SimCode: time 1.492e-06/0.007838, allocations: 0 / 273 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of Templates: time 0.00235/0.01019, allocations: 498.6 kB / 273.5 MB, free: 364 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.915853751357645]