Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.001451/0.001451, allocations: 92.62 kB / 20.96 MB, free: 3.477 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.00146/0.00146, allocations: 153.4 kB / 24.26 MB, free: 184 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 1.452/1.452, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.59e-06/5.59e-06, allocations: 4 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/3.336e-05, allocations: 2.312 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.003828/0.003861, allocations: 1.433 MB / 268.7 MB, free: 5.281 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002253/0.004086, allocations: 31.91 kB / 268.8 MB, free: 5.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.498e-05/0.004151, allocations: 3.938 kB / 268.8 MB, free: 5.246 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.004184, allocations: 0 / 268.8 MB, free: 5.246 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.346e-05/0.004237, allocations: 7.922 kB / 268.8 MB, free: 5.238 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.00454, allocations: 27.91 kB / 268.8 MB, free: 5.211 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.004641, allocations: 23.94 kB / 268.8 MB, free: 5.188 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.004746, allocations: 19.92 kB / 268.9 MB, free: 5.168 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.823e-05/0.004814, allocations: 15.97 kB / 268.9 MB, free: 5.152 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.372e-05/0.004857, allocations: 4 kB / 268.9 MB, free: 5.148 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.004882, allocations: 4 kB / 268.9 MB, free: 5.145 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-06/0.004891, allocations: 0 / 268.9 MB, free: 5.145 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.216e-05/0.004923, allocations: 15.92 kB / 268.9 MB, free: 5.129 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.226e-05/0.004965, allocations: 8 kB / 268.9 MB, free: 5.121 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.005083, allocations: 35.81 kB / 268.9 MB, free: 5.086 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.005088, allocations: 4 kB / 268.9 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005089, allocations: 0 / 268.9 MB, free: 5.082 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.005093, allocations: 4 kB / 268.9 MB, free: 5.078 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000582/0.005675, allocations: 274.2 kB / 269.2 MB, free: 4.777 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.005718, allocations: 8.031 kB / 269.2 MB, free: 4.77 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.146e-05/0.00577, allocations: 4.938 kB / 269.2 MB, free: 4.766 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.006041, allocations: 121.7 kB / 269.3 MB, free: 4.621 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.006066, allocations: 384 / 269.3 MB, free: 4.621 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.006085, allocations: 8.375 kB / 269.4 MB, free: 4.613 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005537/0.006639, allocations: 111.9 kB / 269.5 MB, free: 4.492 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.006649, allocations: 8.188 kB / 269.5 MB, free: 4.484 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.00666, allocations: 384 / 269.5 MB, free: 4.484 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.006669, allocations: 4.359 kB / 269.5 MB, free: 4.48 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.006857, allocations: 27.84 kB / 269.5 MB, free: 4.453 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.007042, allocations: 105.3 kB / 269.6 MB, free: 4.32 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.007305, allocations: 54.55 kB / 269.7 MB, free: 4.258 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.007432, allocations: 24.92 kB / 269.7 MB, free: 4.23 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.007446, allocations: 0 / 269.7 MB, free: 4.23 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.007489, allocations: 34.56 kB / 269.7 MB, free: 4.188 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.00749, allocations: 0 / 269.7 MB, free: 4.188 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004413/0.007931, allocations: 89.55 kB / 269.8 MB, free: 4.094 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.704e-05/0.008008, allocations: 55.41 kB / 269.9 MB, free: 4.027 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.008149, allocations: 109.8 kB / 270 MB, free: 3.91 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.008181, allocations: 29.7 kB / 270 MB, free: 3.875 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.008274, allocations: 92.06 kB / 270.1 MB, free: 3.781 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.08e-05/0.008285, allocations: 0 / 270.1 MB, free: 3.781 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.008332, allocations: 13.72 kB / 270.1 MB, free: 3.762 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002389/0.008571, allocations: 314.8 kB / 270.4 MB, free: 3.445 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.028e-05/0.008591, allocations: 8 kB / 270.4 MB, free: 3.438 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.235e-06/0.008599, allocations: 0 / 270.4 MB, free: 3.438 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.089e-05/0.00864, allocations: 16.86 kB / 270.4 MB, free: 3.418 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.008642, allocations: 0 / 270.4 MB, free: 3.418 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.595e-05/0.008738, allocations: 37.7 kB / 270.5 MB, free: 3.375 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.00876, allocations: 11.12 kB / 270.5 MB, free: 3.367 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.008771, allocations: 3.984 kB / 270.5 MB, free: 3.363 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.008787, allocations: 0 / 270.5 MB, free: 3.363 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.912e-05/0.008846, allocations: 4 kB / 270.5 MB, free: 3.359 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.008852, allocations: 0 / 270.5 MB, free: 3.359 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.008876, allocations: 7.891 kB / 270.5 MB, free: 3.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.00888, allocations: 0 / 270.5 MB, free: 3.352 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: 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 0.0001254/0.009005, allocations: 117.9 kB / 270.6 MB, free: 3.227 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/0.009259, allocations: 61.61 kB / 270.7 MB, free: 3.16 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.009301, allocations: 12 kB / 270.7 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.009303, allocations: 256 / 270.7 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.009308, allocations: 0 / 270.7 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.009321, allocations: 11.92 kB / 270.7 MB, free: 3.129 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.00946, allocations: 105.3 kB / 270.8 MB, free: 2.996 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.009461, allocations: 0 / 270.8 MB, free: 2.996 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.378e-05/0.009555, allocations: 11.98 kB / 270.8 MB, free: 2.984 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.009557, allocations: 0 / 270.8 MB, free: 2.984 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.009566, allocations: 0 / 270.8 MB, free: 2.984 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.009567, allocations: 4 kB / 270.8 MB, free: 2.98 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.009569, allocations: 4 kB / 270.8 MB, free: 2.977 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.009871, allocations: 105.1 kB / 270.9 MB, free: 2.855 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.579e-05/0.009886, allocations: 7.938 kB / 270.9 MB, free: 2.848 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.009906, allocations: 0 / 270.9 MB, free: 2.848 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.208e-05/0.009968, allocations: 4 kB / 270.9 MB, free: 2.844 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-06/0.009972, allocations: 0 / 270.9 MB, free: 2.844 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.009978, allocations: 0 / 270.9 MB, free: 2.844 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.194e-05/0.01006, allocations: 87.27 kB / 271 MB, free: 2.758 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01006, allocations: 0 / 271 MB, free: 2.758 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002855/0.01035, allocations: 4 kB / 271 MB, free: 2.754 MB / 250.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 0.0001601/0.01051, allocations: 103.2 kB / 271.1 MB, free: 2.645 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.01067, allocations: 19.98 kB / 271.1 MB, free: 2.625 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01067, allocations: 4 kB / 271.1 MB, free: 2.621 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.02e-07/0.01067, allocations: 0 / 271.1 MB, free: 2.621 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.0111, allocations: 29.36 kB / 271.2 MB, free: 2.59 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004265/0.01152, allocations: 123.1 kB / 271.3 MB, free: 2.445 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.535e-05/0.01162, allocations: 67.25 kB / 271.4 MB, free: 2.359 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.821e-05/0.01165, allocations: 7.922 kB / 271.4 MB, free: 2.352 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.01169, allocations: 12.5 kB / 271.4 MB, free: 2.34 MB / 250.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01169, allocations: 0 / 271.4 MB, free: 2.34 MB / 250.7 MB Notification: Performance of Templates: time 0.003771/0.01546, allocations: 461 kB / 271.8 MB, free: 1.902 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.145237723947503]