Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001841/0.001841, allocations: 75.91 kB / 21.18 MB, free: 3.395 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.001226/0.001226, 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.9416/0.9416, allocations: 173.4 MB / 201.2 MB, free: 9.359 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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.183e-05/3.353e-05, allocations: 6.25 kB / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002605/0.002639, allocations: 1.498 MB / 269.5 MB, free: 4.941 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002049/0.002843, allocations: 35.84 kB / 269.5 MB, free: 4.906 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.465e-05/0.002908, allocations: 0 / 269.5 MB, free: 4.906 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.525e-05/0.002943, allocations: 3.938 kB / 269.5 MB, free: 4.902 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.39e-05/0.002997, allocations: 3.938 kB / 269.5 MB, free: 4.898 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.003256, allocations: 27.91 kB / 269.6 MB, free: 4.871 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.548e-05/0.003341, allocations: 27.92 kB / 269.6 MB, free: 4.844 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.003444, allocations: 8 kB / 269.6 MB, free: 4.836 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.356e-05/0.003507, allocations: 11.98 kB / 269.6 MB, free: 4.824 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.627e-05/0.003553, allocations: 19.91 kB / 269.6 MB, free: 4.805 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.003579, allocations: 7.938 kB / 269.7 MB, free: 4.797 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.003591, allocations: 4 kB / 269.7 MB, free: 4.793 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.563e-05/0.003616, allocations: 4 kB / 269.7 MB, free: 4.789 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.003653, allocations: 8 kB / 269.7 MB, free: 4.781 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.003761, allocations: 23.89 kB / 269.7 MB, free: 4.758 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.003764, allocations: 0 / 269.7 MB, free: 4.758 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.003765, allocations: 0 / 269.7 MB, free: 4.758 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.003771, allocations: 0 / 269.7 MB, free: 4.758 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.0004608/0.004232, allocations: 368.6 kB / 270 MB, free: 4.359 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.004278, allocations: 8.922 kB / 270.1 MB, free: 4.352 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.00432, allocations: 8.938 kB / 270.1 MB, free: 4.344 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.004493, allocations: 124.6 kB / 270.2 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.004513, allocations: 384 / 270.2 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.004526, allocations: 4.375 kB / 270.2 MB, free: 4.191 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.004787, allocations: 114.2 kB / 270.3 MB, free: 4.062 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.004799, allocations: 192 / 270.3 MB, free: 4.062 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.004808, allocations: 4.312 kB / 270.3 MB, free: 4.059 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.004818, allocations: 4.375 kB / 270.3 MB, free: 4.055 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.78e-05/0.004856, allocations: 19.92 kB / 270.3 MB, free: 4.035 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001193/0.004975, allocations: 116.6 kB / 270.4 MB, free: 3.887 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.762e-05/0.005053, allocations: 35.06 kB / 270.5 MB, free: 3.84 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/0.005094, allocations: 23.75 kB / 270.5 MB, free: 3.812 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.005101, allocations: 3.938 kB / 270.5 MB, free: 3.809 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.005127, allocations: 37.39 kB / 270.5 MB, free: 3.762 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.005128, allocations: 0 / 270.5 MB, free: 3.762 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001619/0.00529, allocations: 53.64 kB / 270.6 MB, free: 3.703 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.005337, allocations: 51.41 kB / 270.6 MB, free: 3.641 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.037e-05/0.005427, allocations: 169.9 kB / 270.8 MB, free: 3.457 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.005439, allocations: 29.7 kB / 270.8 MB, free: 3.422 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.005487, allocations: 130.9 kB / 271 MB, free: 3.289 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.145e-05/0.005499, allocations: 0 / 271 MB, free: 3.289 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.00553, allocations: 19.38 kB / 271 MB, free: 3.262 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.00569, allocations: 0.4884 MB / 271.5 MB, free: 2.762 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.005702, allocations: 7.938 kB / 271.5 MB, free: 2.754 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-06/0.005709, allocations: 0 / 271.5 MB, free: 2.754 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.064e-05/0.005739, allocations: 11.69 kB / 271.5 MB, free: 2.738 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.005742, allocations: 0 / 271.5 MB, free: 2.738 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.99e-05/0.005822, allocations: 41.77 kB / 271.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.005841, allocations: 8 kB / 271.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.005848, allocations: 0 / 271.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.005867, allocations: 0 / 271.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.365e-05/0.00593, allocations: 3.984 kB / 271.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.005939, allocations: 8.188 kB / 271.6 MB, free: 2.672 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.791e-05/0.005957, allocations: 7.891 kB / 271.6 MB, free: 2.664 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.005963, allocations: 4 kB / 271.6 MB, free: 2.66 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 8.73e-05/0.00605, allocations: 156.6 kB / 271.7 MB, free: 2.496 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-05/0.006107, allocations: 45.62 kB / 271.8 MB, free: 2.445 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.006141, allocations: 16.03 kB / 271.8 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.006143, allocations: 0 / 271.8 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.006146, allocations: 0 / 271.8 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.00615, allocations: 3.938 kB / 271.8 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.925e-05/0.00622, allocations: 112.6 kB / 271.9 MB, free: 2.273 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.006221, allocations: 0 / 271.9 MB, free: 2.273 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.916e-05/0.006271, allocations: 8.234 kB / 271.9 MB, free: 2.266 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.006273, allocations: 0 / 271.9 MB, free: 2.266 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.006282, allocations: 4 kB / 271.9 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.006283, allocations: 0 / 271.9 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006284, allocations: 0 / 271.9 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.659e-05/0.00638, allocations: 108.2 kB / 272 MB, free: 2.133 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-06/0.006389, allocations: 4 kB / 272 MB, free: 2.129 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.006406, allocations: 0 / 272 MB, free: 2.129 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.507e-05/0.006431, allocations: 4 kB / 272 MB, free: 2.125 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-06/0.006434, allocations: 0 / 272 MB, free: 2.125 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.006438, allocations: 0 / 272 MB, free: 2.125 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.983e-05/0.006488, allocations: 131.2 kB / 272.1 MB, free: 1.996 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.006488, allocations: 0 / 272.1 MB, free: 1.996 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001997/0.006688, allocations: 4 kB / 272.2 MB, free: 1.992 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: 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.0003597/0.007048, allocations: 103.2 kB / 272.3 MB, free: 1.883 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.355e-05/0.007141, allocations: 23.62 kB / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.007143, allocations: 0 / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-07/0.007144, allocations: 0 / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.007391, allocations: 17.42 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002768/0.007667, allocations: 116.8 kB / 272.4 MB, free: 1.695 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.946e-05/0.007707, allocations: 63.34 kB / 272.5 MB, free: 1.613 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.647e-05/0.007723, allocations: 4 kB / 272.5 MB, free: 1.609 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.007751, allocations: 8.5 kB / 272.5 MB, free: 1.602 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.007751, allocations: 64 / 272.5 MB, free: 1.602 MB / 250.7 MB Notification: Performance of Templates: time 0.002603/0.01035, allocations: 456.2 kB / 272.9 MB, free: 1.164 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/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.856925813946873]