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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001876/0.001876, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.002666/0.002666, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.663/1.663, allocations: 230.6 MB / 258.3 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] 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=5011,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=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "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.001943/0.001943, allocations: 60.77 kB / 379.1 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4053, allocations: 53.36 MB / 432.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003219/0.4085, allocations: 1.485 MB / 433.9 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002482/0.4087, allocations: 31.84 kB / 433.9 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.4088, allocations: 0 / 433.9 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/0.4088, allocations: 3.938 kB / 433.9 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.318e-05/0.4089, allocations: 3.938 kB / 433.9 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.4091, allocations: 23.92 kB / 434 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.4093, allocations: 31.91 kB / 434 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.4094, allocations: 8 kB / 434 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.51e-05/0.4094, allocations: 15.92 kB / 434 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.173e-05/0.4095, allocations: 15.94 kB / 434 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.4095, allocations: 0 / 434 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.4095, allocations: 7.938 kB / 434 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.4095, allocations: 11.92 kB / 434.1 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.4096, allocations: 15.92 kB / 434.1 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.4097, allocations: 27.56 kB / 434.1 MB, free: 5.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4097, allocations: 0 / 434.1 MB, free: 5.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4097, allocations: 0 / 434.1 MB, free: 5.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.361e-06/0.4097, allocations: 0 / 434.1 MB, free: 5.297 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.00049/0.4102, allocations: 272.3 kB / 434.4 MB, free: 5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.4102, allocations: 8.031 kB / 434.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.4103, allocations: 8.891 kB / 434.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.4105, allocations: 122.4 kB / 434.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.4105, allocations: 8.375 kB / 434.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.4105, allocations: 384 / 434.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.4109, allocations: 123.8 kB / 434.6 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.4109, allocations: 4.188 kB / 434.6 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.4109, allocations: 3.938 kB / 434.6 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.411, allocations: 3.984 kB / 434.6 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.4111, allocations: 27.97 kB / 434.7 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.4113, allocations: 124.8 kB / 434.8 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.4115, allocations: 58.48 kB / 434.8 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.673e-05/0.4115, allocations: 24.92 kB / 434.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.4116, allocations: 4 kB / 434.9 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.4116, allocations: 30.56 kB / 434.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.4116, allocations: 0 / 434.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003324/0.4119, allocations: 85.55 kB / 435 MB, free: 4.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/0.4121, allocations: 63.33 kB / 435 MB, free: 4.195 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.4122, allocations: 101.9 kB / 435.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.4122, allocations: 25.7 kB / 435.2 MB, free: 4.055 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.342e-05/0.4123, allocations: 88.14 kB / 435.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.4123, allocations: 7.984 kB / 435.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.4124, allocations: 13.72 kB / 435.3 MB, free: 3.938 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.4126, allocations: 314.8 kB / 435.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.887e-05/0.4126, allocations: 4 kB / 435.6 MB, free: 3.617 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.059e-05/0.4127, allocations: 31.42 kB / 435.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.075e-05/0.4127, allocations: 39.38 kB / 435.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4127, allocations: 0 / 435.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001117/0.4128, allocations: 65.58 kB / 435.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.4129, allocations: 4 kB / 435.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.4129, allocations: 7.938 kB / 435.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.4129, allocations: 4.125 kB / 435.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.141e-05/0.413, allocations: 15.88 kB / 435.8 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.413, allocations: 0 / 435.8 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.736e-05/0.413, allocations: 11.88 kB / 435.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-06/0.413, allocations: 3.984 kB / 435.8 MB, free: 3.406 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 0.0001347/0.4132, allocations: 113.8 kB / 435.9 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.4133, allocations: 57.67 kB / 435.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.179e-05/0.4134, allocations: 15.94 kB / 436 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4134, allocations: 0 / 436 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4134, allocations: 4 kB / 436 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.4134, allocations: 0 / 436 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.4135, allocations: 133.1 kB / 436.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4135, allocations: 0 / 436.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.287e-05/0.4136, allocations: 15.94 kB / 436.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.4136, allocations: 0 / 436.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.4136, allocations: 7.938 kB / 436.1 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.4136, allocations: 3.984 kB / 436.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4136, allocations: 0 / 436.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.4138, allocations: 89.34 kB / 436.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.4138, allocations: 4.031 kB / 436.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.4138, allocations: 7.938 kB / 436.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.444e-05/0.4139, allocations: 7.984 kB / 436.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-06/0.4139, allocations: 0 / 436.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.4139, allocations: 4 kB / 436.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.368e-05/0.4139, allocations: 79.28 kB / 436.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4139, allocations: 0 / 436.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001883/0.4141, allocations: 8 kB / 436.3 MB, free: 2.781 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.0001348/0.4143, allocations: 107.2 kB / 436.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.4144, allocations: 23.98 kB / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.4144, allocations: 0 / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.4144, allocations: 0 / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.4147, allocations: 27.92 kB / 436.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003666/0.4151, allocations: 121.6 kB / 436.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.4155, allocations: 0.6926 MB / 437.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.465e-05/0.4155, allocations: 0 / 437.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.4156, allocations: 11.44 kB / 437.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4156, allocations: 0 / 437.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of Templates: time 0.003096/0.4187, allocations: 456.1 kB / 437.7 MB, free: 1.305 MB / 334.1 MB " [Timeout remaining time 660] 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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.069970480166376]