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.001107/0.001107, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001629/0.002735, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001027/0.001027, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001332/0.002359, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 1.014/1.014, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09872/1.113, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.513e-06/1.513e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.278e-05, allocations: 10.11 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002488/0.002511, allocations: 1.541 MB / 246.2 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000128/0.002639, allocations: 27.84 kB / 246.3 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.877e-05/0.002698, allocations: 0 / 246.3 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/0.002726, allocations: 7.938 kB / 246.3 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.997e-05/0.002756, allocations: 3.938 kB / 246.3 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.002949, allocations: 27.91 kB / 246.3 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.586e-05/0.003045, allocations: 23.92 kB / 246.3 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.58e-05/0.003141, allocations: 12 kB / 246.3 MB, free: 12.58 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.526e-05/0.003226, allocations: 15.98 kB / 246.4 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.1e-05/0.003277, allocations: 19.91 kB / 246.4 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.003305, allocations: 4 kB / 246.4 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.003317, allocations: 4 kB / 246.4 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.00334, allocations: 0 / 246.4 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.003362, allocations: 11.94 kB / 246.4 MB, free: 12.53 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.00347, allocations: 15.92 kB / 246.4 MB, free: 12.51 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/0.003481, allocations: 0 / 246.4 MB, free: 12.51 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.003483, allocations: 0 / 246.4 MB, free: 12.51 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.003494, allocations: 0 / 246.4 MB, free: 12.51 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.0004011/0.003895, allocations: 260.5 kB / 246.7 MB, free: 12.23 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.003937, allocations: 12.03 kB / 246.7 MB, free: 12.22 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.00397, allocations: 4.938 kB / 246.7 MB, free: 12.21 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.004119, allocations: 125.7 kB / 246.8 MB, free: 12.07 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.004139, allocations: 384 / 246.8 MB, free: 12.07 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.004151, allocations: 4.375 kB / 246.8 MB, free: 12.06 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.004332, allocations: 100.5 kB / 246.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.004339, allocations: 4.188 kB / 246.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.004347, allocations: 384 / 246.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.004353, allocations: 384 / 246.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.997e-05/0.004373, allocations: 11.92 kB / 246.9 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.094e-05/0.004443, allocations: 64.98 kB / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.999e-05/0.004503, allocations: 30.56 kB / 247 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.004522, allocations: 8.859 kB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-06/0.004528, allocations: 0 / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.004551, allocations: 38.56 kB / 247.1 MB, free: 11.76 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.004552, allocations: 0 / 247.1 MB, free: 11.76 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001037/0.004656, allocations: 45.62 kB / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.004707, allocations: 59.41 kB / 247.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.837e-05/0.004775, allocations: 114.7 kB / 247.3 MB, free: 11.51 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.004785, allocations: 25.7 kB / 247.3 MB, free: 11.48 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.559e-05/0.004811, allocations: 88.12 kB / 247.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.004824, allocations: 3.984 kB / 247.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.004847, allocations: 13.72 kB / 247.4 MB, free: 11.37 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.89e-05/0.004936, allocations: 318.8 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.622e-06/0.004943, allocations: 0 / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-06/0.004948, allocations: 7.938 kB / 247.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.449e-05/0.004972, allocations: 12.92 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.004975, allocations: 0 / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.452e-05/0.005019, allocations: 37.62 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.005032, allocations: 8 kB / 247.8 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.005037, allocations: 0 / 247.8 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.005047, allocations: 0 / 247.8 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.44e-05/0.005092, allocations: 4 kB / 247.8 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.005095, allocations: 0 / 247.8 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.032e-05/0.005105, allocations: 0 / 247.8 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-06/0.005107, allocations: 0 / 247.8 MB, free: 10.97 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 7.048e-05/0.005178, allocations: 125.8 kB / 247.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.005213, allocations: 37.69 kB / 248 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.369e-05/0.005237, allocations: 8 kB / 248 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.00524, allocations: 4 kB / 248 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.005242, allocations: 3.938 kB / 248 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.005246, allocations: 240 / 248 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.214e-05/0.005298, allocations: 69.8 kB / 248 MB, free: 10.69 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.005299, allocations: 0 / 248 MB, free: 10.69 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.98e-05/0.005339, allocations: 11.98 kB / 248 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-06/0.005346, allocations: 3.984 kB / 248.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.005347, allocations: 0 / 248.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-06/0.005352, allocations: 8 kB / 248.1 MB, free: 10.67 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.005352, allocations: 0 / 248.1 MB, free: 10.67 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.005353, allocations: 256 / 248.1 MB, free: 10.67 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.387e-05/0.005397, allocations: 61.8 kB / 248.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.005409, allocations: 4 kB / 248.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.112e-05/0.00542, allocations: 4 kB / 248.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-06/0.005423, allocations: 0 / 248.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.005425, allocations: 0 / 248.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.5e-05/0.00544, allocations: 12.84 kB / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00544, allocations: 0 / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of remove unused functions: time 9.008e-05/0.00553, allocations: 11.88 kB / 248.2 MB, free: 10.55 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 8.41e-05/0.005614, allocations: 84.42 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.433e-05/0.005678, allocations: 12.86 kB / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.005682, allocations: 0 / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.005683, allocations: 0 / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.005842, allocations: 63.03 kB / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/0.0062, allocations: 119 kB / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.219e-05/0.006232, allocations: 55.36 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.248e-05/0.006245, allocations: 96 / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.006294, allocations: 63.36 kB / 248.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of SimCode: time 1.112e-06/0.006295, allocations: 0 / 248.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of Templates: time 0.001991/0.008286, allocations: 486.7 kB / 249 MB, free: 9.629 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6520015755668283]