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.0007738/0.0007738, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.001826, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001145/0.001145, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001603/0.002748, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.023/1.023, allocations: 173.4 MB / 185.8 MB, free: 9.008 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0859/1.109, allocations: 52.5 MB / 238.3 MB, free: 4.445 MB / 234.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.353e-06/1.353e-06, allocations: 0 / 239.6 MB, free: 3.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/1.972e-05, allocations: 2.875 kB / 239.6 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002744/0.002764, allocations: 1.548 MB / 241.1 MB, free: 1.633 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001113/0.002875, allocations: 31.84 kB / 241.1 MB, free: 1.602 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.529e-05/0.002921, allocations: 7.938 kB / 241.1 MB, free: 1.594 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.424e-05/0.002945, allocations: 3.938 kB / 241.1 MB, free: 1.59 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 2.222e-05/0.002967, allocations: 0 / 241.1 MB, free: 1.59 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.00311, allocations: 23.92 kB / 241.2 MB, free: 1.566 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.111e-05/0.003191, allocations: 35.91 kB / 241.2 MB, free: 1.531 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.026e-05/0.003262, allocations: 3.984 kB / 241.2 MB, free: 1.527 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.792e-05/0.003329, allocations: 23.92 kB / 241.2 MB, free: 1.504 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.032e-05/0.00337, allocations: 4 kB / 241.2 MB, free: 1.5 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.003393, allocations: 4 kB / 241.2 MB, free: 1.496 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-06/0.003402, allocations: 4 kB / 241.2 MB, free: 1.492 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.003419, allocations: 7.938 kB / 241.2 MB, free: 1.484 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.003447, allocations: 4 kB / 241.3 MB, free: 1.48 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 8.69e-05/0.003534, allocations: 27.84 kB / 241.3 MB, free: 1.453 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.425e-05/0.003548, allocations: 0 / 241.3 MB, free: 1.453 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003549, allocations: 0 / 241.3 MB, free: 1.453 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.003566, allocations: 4 kB / 241.3 MB, free: 1.449 MB / 234.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.0003652/0.003931, allocations: 252.5 kB / 241.5 MB, free: 1.176 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.003962, allocations: 12.03 kB / 241.5 MB, free: 1.164 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.003993, allocations: 4.938 kB / 241.5 MB, free: 1.16 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.004137, allocations: 117.7 kB / 241.7 MB, free: 1.02 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.004154, allocations: 384 / 241.7 MB, free: 1.02 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.004162, allocations: 8.375 kB / 241.7 MB, free: 1.012 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.004317, allocations: 104.5 kB / 241.8 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-06/0.004323, allocations: 192 / 241.8 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-06/0.004329, allocations: 384 / 241.8 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.004334, allocations: 384 / 241.8 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.916e-05/0.004353, allocations: 7.938 kB / 241.8 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.407e-05/0.004407, allocations: 64.98 kB / 241.8 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.871e-05/0.004456, allocations: 34.5 kB / 241.9 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.004474, allocations: 16.8 kB / 241.9 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.029e-06/0.004479, allocations: 0 / 241.9 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.004497, allocations: 34.56 kB / 241.9 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 4.71e-07/0.004497, allocations: 0 / 241.9 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 8.055e-05/0.004578, allocations: 45.69 kB / 242 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.004613, allocations: 59.33 kB / 242 MB, free: 0.582 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.608e-05/0.004659, allocations: 110.7 kB / 242.1 MB, free: 472 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.004667, allocations: 25.7 kB / 242.2 MB, free: 440 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.736e-05/0.004685, allocations: 84.14 kB / 242.2 MB, free: 352 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.085e-06/0.004693, allocations: 3.984 kB / 242.3 MB, free: 348 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/0.004715, allocations: 13.72 kB / 242.3 MB, free: 328 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.655e-05/0.004791, allocations: 323 kB / 242.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.376e-06/0.004794, allocations: 0 / 242.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-06/0.0048, allocations: 4 kB / 242.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.516e-05/0.004815, allocations: 12.92 kB / 242.6 MB, free: 15.97 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.004817, allocations: 0 / 242.6 MB, free: 15.97 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.003e-05/0.004847, allocations: 33.69 kB / 242.6 MB, free: 15.93 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.004856, allocations: 11.94 kB / 242.6 MB, free: 15.92 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.004861, allocations: 3.984 kB / 242.6 MB, free: 15.92 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/0.004869, allocations: 0 / 242.6 MB, free: 15.92 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.018e-05/0.004909, allocations: 4 kB / 242.6 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.004911, allocations: 0 / 242.6 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.973e-06/0.004918, allocations: 256 / 242.6 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-06/0.00492, allocations: 0 / 242.6 MB, free: 15.91 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 4.682e-05/0.004967, allocations: 129.8 kB / 242.8 MB, free: 15.78 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.004993, allocations: 37.69 kB / 242.8 MB, free: 15.73 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.757e-05/0.005011, allocations: 8 kB / 242.8 MB, free: 15.72 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.005012, allocations: 0 / 242.8 MB, free: 15.72 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.005013, allocations: 4 kB / 242.8 MB, free: 15.72 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.005015, allocations: 240 / 242.8 MB, free: 15.72 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.004e-05/0.005055, allocations: 69.78 kB / 242.9 MB, free: 15.63 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.005056, allocations: 0 / 242.9 MB, free: 15.63 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.005087, allocations: 15.92 kB / 242.9 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.005093, allocations: 7.938 kB / 242.9 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.005094, allocations: 4 kB / 242.9 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-06/0.005097, allocations: 0 / 242.9 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.005099, allocations: 4 kB / 242.9 MB, free: 15.6 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.01e-07/0.005099, allocations: 0 / 242.9 MB, free: 15.6 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.236e-05/0.005131, allocations: 61.05 kB / 243 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.138e-06/0.00514, allocations: 0 / 243 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.081e-05/0.005151, allocations: 8 kB / 243 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-06/0.005153, allocations: 0 / 243 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.005155, allocations: 0 / 243 MB, free: 15.52 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.021e-05/0.005165, allocations: 12.84 kB / 243 MB, free: 15.5 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005165, allocations: 0 / 243 MB, free: 15.5 MB / 250.7 MB Notification: Performance of remove unused functions: time 8.773e-05/0.005253, allocations: 8 kB / 243 MB, free: 15.49 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 5.449e-05/0.005307, allocations: 76.42 kB / 243.1 MB, free: 15.41 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.981e-05/0.005357, allocations: 16.8 kB / 243.1 MB, free: 15.39 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.005359, allocations: 0 / 243.1 MB, free: 15.39 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.8e-07/0.00536, allocations: 0 / 243.1 MB, free: 15.39 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.005472, allocations: 25.36 kB / 243.1 MB, free: 15.36 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.00575, allocations: 120.4 kB / 243.2 MB, free: 15.23 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.477e-05/0.005775, allocations: 59.34 kB / 243.3 MB, free: 15.15 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.027e-06/0.005784, allocations: 4.062 kB / 243.3 MB, free: 15.14 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.424e-05/0.005838, allocations: 51.38 kB / 243.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of SimCode: time 5.51e-07/0.005839, allocations: 0 / 243.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of Templates: time 0.00169/0.007529, allocations: 497.9 kB / 243.8 MB, free: 14.61 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 -ignoreHideResult -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.507620418444276]