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.001028/0.001028, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001046/0.001046, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.903/0.903, allocations: 177.1 MB / 205 MB, free: 5.293 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 1.353e-06/1.353e-06, allocations: 0 / 273 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441e-05/1.576e-05, allocations: 6.312 kB / 273 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001821/0.001837, allocations: 1.486 MB / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001767/0.002013, allocations: 27.92 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.357e-05/0.002067, allocations: 3.938 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.002094, allocations: 0 / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.824e-05/0.002132, allocations: 11.92 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.002368, allocations: 23.92 kB / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.759e-05/0.002445, allocations: 31.91 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.939e-05/0.002535, allocations: 7.984 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.861e-05/0.002583, allocations: 19.92 kB / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.193e-05/0.002615, allocations: 4 kB / 274.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.002636, allocations: 4 kB / 274.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.554e-06/0.002644, allocations: 0 / 274.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.002663, allocations: 15.97 kB / 274.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.002688, allocations: 7.938 kB / 274.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.966e-05/0.002767, allocations: 23.92 kB / 274.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.002769, allocations: 0 / 274.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.00277, allocations: 0 / 274.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.002774, allocations: 0 / 274.6 MB, free: 15.74 MB / 266.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.000355/0.003129, allocations: 376.5 kB / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.003175, allocations: 8.031 kB / 275 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/0.003228, allocations: 8.891 kB / 275 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.003387, allocations: 124.6 kB / 275.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.003406, allocations: 384 / 275.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.003418, allocations: 4.375 kB / 275.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.003665, allocations: 114.2 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.003674, allocations: 192 / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.003686, allocations: 4.359 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.003693, allocations: 384 / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.901e-05/0.003722, allocations: 11.88 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001113/0.003833, allocations: 124.5 kB / 275.4 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.858e-05/0.003912, allocations: 43.05 kB / 275.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.003946, allocations: 15.72 kB / 275.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.003954, allocations: 0 / 275.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.003977, allocations: 41.39 kB / 275.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.02e-07/0.003977, allocations: 0 / 275.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001543/0.004132, allocations: 53.67 kB / 275.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.004182, allocations: 55.41 kB / 275.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.981e-05/0.004271, allocations: 169.9 kB / 275.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.004282, allocations: 25.7 kB / 275.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.844e-05/0.00433, allocations: 134.9 kB / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.004344, allocations: 0 / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.004369, allocations: 19.38 kB / 275.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.00449, allocations: 496.1 kB / 276.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.004501, allocations: 11.94 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-06/0.004506, allocations: 256 / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.669e-05/0.004533, allocations: 19.61 kB / 276.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.004536, allocations: 4 kB / 276.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.715e-05/0.004583, allocations: 41.66 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.004601, allocations: 8 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.004608, allocations: 0 / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.004623, allocations: 0 / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.861e-05/0.004681, allocations: 0 / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.004687, allocations: 4.094 kB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.045e-05/0.004698, allocations: 7.938 kB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.004701, allocations: 0 / 276.5 MB, free: 13.64 MB / 266.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 6.817e-05/0.004769, allocations: 156.6 kB / 276.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.004814, allocations: 45.64 kB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.745e-05/0.004842, allocations: 15.98 kB / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.004844, allocations: 0 / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.004848, allocations: 0 / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.004851, allocations: 3.938 kB / 276.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.994e-05/0.004911, allocations: 112.6 kB / 276.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.004912, allocations: 0 / 276.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.00495, allocations: 19.98 kB / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.004952, allocations: 0 / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.004959, allocations: 0 / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.004959, allocations: 0 / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.004961, allocations: 0 / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.203e-05/0.005033, allocations: 92.53 kB / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.005044, allocations: 8 kB / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.005057, allocations: 0 / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.372e-05/0.005071, allocations: 7.984 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.434e-06/0.005073, allocations: 0 / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-06/0.005076, allocations: 0 / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.873e-05/0.005115, allocations: 135.2 kB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005115, allocations: 3.938 kB / 277.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000113/0.005228, allocations: 4 kB / 277.1 MB, free: 12.97 MB / 266.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.45e-05/0.005292, allocations: 103.2 kB / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.574e-05/0.005368, allocations: 19.69 kB / 277.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.00537, allocations: 0 / 277.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.00537, allocations: 0 / 277.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.005542, allocations: 21.36 kB / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001946/0.005736, allocations: 124.9 kB / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.944e-05/0.005766, allocations: 59.34 kB / 277.4 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.417e-05/0.00578, allocations: 4 kB / 277.4 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.005802, allocations: 8.5 kB / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of SimCode: time 4.31e-07/0.005803, allocations: 0 / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of Templates: time 0.001798/0.007601, allocations: 464.3 kB / 277.9 MB, free: 12.12 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 240] 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","",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.5333440941758454]