Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=500,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001396/0.001396, allocations: 108.7 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001444/0.001444, allocations: 207.9 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.548/1.548, allocations: 230.4 MB / 251.1 MB, free: 8.5 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.83 kB / 369 MB, free: 6.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3756, allocations: 53.3 MB / 422.3 MB, free: 7.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003004/0.3786, allocations: 1.48 MB / 423.7 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000221/0.3788, allocations: 35.84 kB / 423.8 MB, free: 6.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.032e-05/0.3789, allocations: 0 / 423.8 MB, free: 6.355 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/0.3789, allocations: 3.938 kB / 423.8 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.192e-05/0.379, allocations: 4 kB / 423.8 MB, free: 6.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.3793, allocations: 23.86 kB / 423.8 MB, free: 6.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.839e-05/0.3794, allocations: 31.92 kB / 423.8 MB, free: 6.293 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3795, allocations: 11.97 kB / 423.9 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.662e-05/0.3795, allocations: 11.94 kB / 423.9 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.709e-05/0.3796, allocations: 15.92 kB / 423.9 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.3796, allocations: 3.938 kB / 423.9 MB, free: 6.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.296e-05/0.3797, allocations: 4 kB / 423.9 MB, free: 6.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.3797, allocations: 4 kB / 423.9 MB, free: 6.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.3797, allocations: 15.92 kB / 423.9 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.3798, allocations: 31.89 kB / 423.9 MB, free: 6.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.3799, allocations: 7.938 kB / 424 MB, free: 6.188 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3799, allocations: 0 / 424 MB, free: 6.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.3799, allocations: 0 / 424 MB, free: 6.188 MB / 334.1 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.0006029/0.3805, allocations: 343 kB / 424.3 MB, free: 5.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3805, allocations: 8.031 kB / 424.3 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.3805, allocations: 8.891 kB / 424.3 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.3808, allocations: 172.4 kB / 424.5 MB, free: 5.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.3809, allocations: 384 / 424.5 MB, free: 5.582 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.3809, allocations: 8.375 kB / 424.5 MB, free: 5.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.3813, allocations: 127.8 kB / 424.6 MB, free: 5.438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3813, allocations: 192 / 424.6 MB, free: 5.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.3813, allocations: 3.938 kB / 424.6 MB, free: 5.434 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3813, allocations: 0 / 424.6 MB, free: 5.434 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.3814, allocations: 27.97 kB / 424.6 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.3816, allocations: 161.5 kB / 424.8 MB, free: 5.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.3818, allocations: 54.55 kB / 424.8 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.426e-05/0.3819, allocations: 24.92 kB / 424.9 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.3819, allocations: 0 / 424.9 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.3819, allocations: 42.48 kB / 424.9 MB, free: 5.059 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.3819, allocations: 0 / 424.9 MB, free: 5.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003232/0.3823, allocations: 85.55 kB / 425 MB, free: 4.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/0.3823, allocations: 59.41 kB / 425.1 MB, free: 4.898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.585e-05/0.3824, allocations: 101.9 kB / 425.2 MB, free: 4.789 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.3825, allocations: 25.7 kB / 425.2 MB, free: 4.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.3825, allocations: 84.12 kB / 425.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.3825, allocations: 11.94 kB / 425.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.3826, allocations: 9.719 kB / 425.3 MB, free: 4.645 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3827, allocations: 318.8 kB / 425.6 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.576e-05/0.3827, allocations: 7.984 kB / 425.6 MB, free: 4.316 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.541e-05/0.3828, allocations: 35.38 kB / 425.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.201e-05/0.3828, allocations: 35.38 kB / 425.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3828, allocations: 384 / 425.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.965e-05/0.3829, allocations: 69.58 kB / 425.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3829, allocations: 4 kB / 425.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.3829, allocations: 3.938 kB / 425.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3829, allocations: 8 kB / 425.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.559e-05/0.383, allocations: 7.984 kB / 425.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.383, allocations: 4 kB / 425.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.383, allocations: 0 / 425.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.383, allocations: 4 kB / 425.8 MB, free: 4.117 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (5): * Single equations (assignments): 5 * 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.171e-05/0.3831, allocations: 121.9 kB / 425.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.3833, allocations: 61.84 kB / 425.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/0.3833, allocations: 11.84 kB / 426 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3833, allocations: 0 / 426 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3833, allocations: 4 kB / 426 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3833, allocations: 0 / 426 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.3835, allocations: 161.6 kB / 426.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3835, allocations: 0 / 426.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.764e-05/0.3835, allocations: 11.98 kB / 426.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.3835, allocations: 0 / 426.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.3835, allocations: 3.938 kB / 426.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3835, allocations: 4 kB / 426.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3835, allocations: 0 / 426.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.3837, allocations: 89.05 kB / 426.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.3838, allocations: 81.11 kB / 426.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.3838, allocations: 7.922 kB / 426.3 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.184e-05/0.3838, allocations: 7.938 kB / 426.3 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-06/0.3838, allocations: 3.938 kB / 426.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.3838, allocations: 0 / 426.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.907e-05/0.3839, allocations: 91.27 kB / 426.4 MB, free: 3.355 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3839, allocations: 0 / 426.4 MB, free: 3.355 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001821/0.3841, allocations: 4 kB / 426.4 MB, free: 3.352 MB / 334.1 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.000132/0.3842, allocations: 103.2 kB / 426.5 MB, free: 3.242 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.3844, allocations: 27.92 kB / 426.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3844, allocations: 0 / 426.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-07/0.3844, allocations: 256 / 426.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.3846, allocations: 28.02 kB / 426.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.385, allocations: 121.5 kB / 426.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.3854, allocations: 0.6846 MB / 427.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.285e-05/0.3854, allocations: 0 / 427.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.3855, allocations: 11.44 kB / 427.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3855, allocations: 0 / 427.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of Templates: time 0.002972/0.3885, allocations: 446.4 kB / 427.8 MB, free: 1.891 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches