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.002544/0.002544, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.003033/0.003033, allocations: 160.8 kB / 24.27 MB, free: 160 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.696/1.696, allocations: 177 MB / 204.4 MB, free: 5.645 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 1.513e-06/1.513e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.638e-05, allocations: 2.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002887/0.002914, allocations: 1.485 MB / 273.7 MB, free: 328 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001902/0.003104, allocations: 27.91 kB / 273.7 MB, free: 300 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.31e-05/0.003167, allocations: 7.938 kB / 273.7 MB, free: 292 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.171e-05/0.003189, allocations: 0 / 273.7 MB, free: 292 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.272e-05/0.003241, allocations: 7.875 kB / 273.7 MB, free: 284 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.003473, allocations: 23.91 kB / 273.8 MB, free: 260 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.726e-05/0.00356, allocations: 27.91 kB / 273.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.103e-05/0.003641, allocations: 11.98 kB / 273.8 MB, free: 220 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.892e-05/0.0037, allocations: 15.98 kB / 273.8 MB, free: 204 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.077e-05/0.00374, allocations: 15.94 kB / 273.8 MB, free: 188 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.003756, allocations: 0 / 273.8 MB, free: 188 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.335e-05/0.00377, allocations: 4 kB / 273.8 MB, free: 184 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.003787, allocations: 3.984 kB / 273.8 MB, free: 180 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.098e-05/0.003818, allocations: 11.98 kB / 273.8 MB, free: 168 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.405e-05/0.003912, allocations: 27.91 kB / 273.9 MB, free: 140 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.003914, allocations: 0 / 273.9 MB, free: 140 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.003915, allocations: 0 / 273.9 MB, free: 140 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.003919, allocations: 0 / 273.9 MB, free: 140 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.0005182/0.004437, allocations: 376.2 kB / 274.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.004475, allocations: 11.98 kB / 274.3 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.004518, allocations: 12.89 kB / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.004707, allocations: 124.6 kB / 274.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.004725, allocations: 384 / 274.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.004734, allocations: 4.375 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003313/0.005065, allocations: 117.5 kB / 274.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.005073, allocations: 192 / 274.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.005084, allocations: 4.359 kB / 274.5 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.005088, allocations: 384 / 274.5 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.005196, allocations: 39.8 kB / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.00536, allocations: 116.6 kB / 274.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.005527, allocations: 51.05 kB / 274.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.198e-05/0.005599, allocations: 27.75 kB / 274.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.005616, allocations: 4 kB / 274.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.005656, allocations: 37.39 kB / 274.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.005656, allocations: 0 / 274.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002705/0.005927, allocations: 77.56 kB / 274.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.005983, allocations: 51.41 kB / 274.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.006124, allocations: 169.9 kB / 275.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.006149, allocations: 37.7 kB / 275.1 MB, free: 14.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/0.00624, allocations: 126.9 kB / 275.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.739e-06/0.00625, allocations: 0 / 275.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.006291, allocations: 23.38 kB / 275.3 MB, free: 14.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002601/0.006551, allocations: 496.1 kB / 275.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.255e-05/0.006563, allocations: 4 kB / 275.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.325e-06/0.006572, allocations: 4 kB / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.206e-05/0.006604, allocations: 15.62 kB / 275.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.006605, allocations: 0 / 275.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.885e-05/0.006674, allocations: 49.72 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.006689, allocations: 4 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.006693, allocations: 0 / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.006707, allocations: 0 / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.242e-05/0.006759, allocations: 7.984 kB / 275.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.006764, allocations: 0 / 275.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.379e-05/0.006778, allocations: 3.938 kB / 275.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-06/0.006781, allocations: 0 / 275.8 MB, free: 13.96 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 0.0001165/0.006897, allocations: 160.6 kB / 276 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.007031, allocations: 57.62 kB / 276 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/0.007061, allocations: 11.98 kB / 276.1 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.007063, allocations: 7.969 kB / 276.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.007068, allocations: 4 kB / 276.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.007075, allocations: 3.938 kB / 276.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.007182, allocations: 112.6 kB / 276.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.007183, allocations: 0 / 276.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/0.007242, allocations: 15.98 kB / 276.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.007243, allocations: 0 / 276.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.00725, allocations: 0 / 276.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.007252, allocations: 256 / 276.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.007255, allocations: 4 kB / 276.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.00745, allocations: 112.5 kB / 276.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.298e-06/0.007459, allocations: 8 kB / 276.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.007475, allocations: 4 kB / 276.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.493e-05/0.0075, allocations: 0 / 276.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.225e-06/0.007503, allocations: 0 / 276.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.007515, allocations: 7.984 kB / 276.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.505e-05/0.0076, allocations: 127.2 kB / 276.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0076, allocations: 0 / 276.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001725/0.007773, allocations: 4 kB / 276.5 MB, free: 13.26 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.0001259/0.007899, allocations: 95.19 kB / 276.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.008037, allocations: 31.67 kB / 276.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.008038, allocations: 4 kB / 276.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.62e-07/0.008039, allocations: 0 / 276.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.008311, allocations: 29.27 kB / 276.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003126/0.008624, allocations: 128.8 kB / 276.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.816e-05/0.008692, allocations: 67.34 kB / 276.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.147e-05/0.008713, allocations: 3.984 kB / 276.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.008747, allocations: 8.5 kB / 276.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.008747, allocations: 4.062 kB / 276.8 MB, free: 12.83 MB / 266.7 MB Notification: Performance of Templates: time 0.003379/0.01213, allocations: 454.2 kB / 277.3 MB, free: 12.39 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 240] 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.608983834972605]