Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.001434/0.001434, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001721/0.001721, allocations: 160.9 kB / 24.27 MB, free: 168 kB / 18.57 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.475/1.475, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.347e-05/3.566e-05, allocations: 6.25 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003127/0.003163, allocations: 1.475 MB / 273.7 MB, free: 316 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000205/0.003368, allocations: 31.92 kB / 273.7 MB, free: 284 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.003434, allocations: 3.938 kB / 273.7 MB, free: 280 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.821e-05/0.003473, allocations: 3.984 kB / 273.7 MB, free: 276 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.509e-05/0.003528, allocations: 7.875 kB / 273.7 MB, free: 268 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.003801, allocations: 23.91 kB / 273.8 MB, free: 244 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.00391, allocations: 31.92 kB / 273.8 MB, free: 212 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.004009, allocations: 4 kB / 273.8 MB, free: 208 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.77e-05/0.004087, allocations: 15.97 kB / 273.8 MB, free: 192 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.094e-05/0.004138, allocations: 15.92 kB / 273.8 MB, free: 176 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.004163, allocations: 4 kB / 273.8 MB, free: 172 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.355e-06/0.004171, allocations: 4 kB / 273.8 MB, free: 168 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.004191, allocations: 8 kB / 273.8 MB, free: 160 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.004227, allocations: 4 kB / 273.8 MB, free: 156 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.00434, allocations: 31.88 kB / 273.9 MB, free: 124 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.004342, allocations: 4 kB / 273.9 MB, free: 120 kB / 250.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004343, allocations: 3.938 kB / 273.9 MB, free: 116 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.004347, allocations: 0 / 273.9 MB, free: 116 kB / 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.0004953/0.004842, allocations: 274.3 kB / 274.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.004886, allocations: 11.98 kB / 274.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/0.004938, allocations: 8.891 kB / 274.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.005207, allocations: 121.8 kB / 274.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.005231, allocations: 384 / 274.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.005246, allocations: 4.375 kB / 274.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004008/0.005646, allocations: 111.9 kB / 274.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.005654, allocations: 4.188 kB / 274.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.005663, allocations: 384 / 274.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.005668, allocations: 384 / 274.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.005806, allocations: 39.78 kB / 274.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.005966, allocations: 105.3 kB / 274.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.006148, allocations: 54.55 kB / 274.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.564e-05/0.006233, allocations: 24.92 kB / 274.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.00625, allocations: 4 kB / 274.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.006283, allocations: 30.56 kB / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.006284, allocations: 0 / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.000332/0.006616, allocations: 85.55 kB / 274.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/0.006686, allocations: 51.41 kB / 274.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.006798, allocations: 113.8 kB / 274.9 MB, free: 14.94 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.006823, allocations: 29.7 kB / 274.9 MB, free: 14.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.006886, allocations: 88.12 kB / 275 MB, free: 14.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.132e-05/0.006898, allocations: 4 kB / 275 MB, free: 14.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.006935, allocations: 13.72 kB / 275 MB, free: 14.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.007103, allocations: 318.8 kB / 275.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.007114, allocations: 0 / 275.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.007e-06/0.007123, allocations: 4 kB / 275.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.045e-05/0.007163, allocations: 16.8 kB / 275.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.007165, allocations: 0 / 275.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.273e-05/0.007238, allocations: 37.66 kB / 275.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.007252, allocations: 4 kB / 275.4 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.007261, allocations: 12.08 kB / 275.4 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.007273, allocations: 0 / 275.4 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.271e-05/0.007326, allocations: 0 / 275.4 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.007334, allocations: 4 kB / 275.4 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.759e-05/0.007352, allocations: 8.125 kB / 275.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-06/0.007356, allocations: 0 / 275.4 MB, free: 14.38 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 9.539e-05/0.007451, allocations: 109.8 kB / 275.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.007621, allocations: 69.59 kB / 275.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.468e-05/0.007645, allocations: 8 kB / 275.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.007649, allocations: 3.938 kB / 275.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.007662, allocations: 4 kB / 275.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.007674, allocations: 7.922 kB / 275.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.007786, allocations: 105.3 kB / 275.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.007787, allocations: 0 / 275.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.476e-05/0.007852, allocations: 11.98 kB / 275.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.007854, allocations: 0 / 275.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.007861, allocations: 0 / 275.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.007863, allocations: 0 / 275.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.007864, allocations: 0 / 275.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.008099, allocations: 104.9 kB / 275.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-06/0.008107, allocations: 0 / 275.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.008125, allocations: 8 kB / 275.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.785e-05/0.008163, allocations: 4 kB / 275.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-06/0.008167, allocations: 4.25 kB / 275.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.008171, allocations: 0 / 275.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.078e-05/0.008232, allocations: 87.27 kB / 276 MB, free: 13.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008232, allocations: 0 / 276 MB, free: 13.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002248/0.008457, allocations: 4 kB / 276 MB, free: 13.79 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: 1 (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.0001475/0.008604, allocations: 103.2 kB / 276.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.008743, allocations: 19.98 kB / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.008745, allocations: 4.062 kB / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.81e-07/0.008745, allocations: 0 / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.009048, allocations: 32.17 kB / 276.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/0.009407, allocations: 126.9 kB / 276.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.936e-05/0.009476, allocations: 67.34 kB / 276.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.048e-05/0.009497, allocations: 0 / 276.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.009539, allocations: 8.5 kB / 276.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.00954, allocations: 0 / 276.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of Templates: time 0.00302/0.01256, allocations: 454 kB / 276.8 MB, free: 12.95 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.187365756020881]