Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.00137/0.00137, allocations: 104.5 kB / 19.8 MB, free: 2.516 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.001585/0.001585, allocations: 214.5 kB / 23 MB, free: 5.609 MB / 14.72 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.721/1.721, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.1 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 67.89 kB / 376.5 MB, free: 3.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3415, allocations: 53.31 MB / 429.8 MB, free: 7.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003697/0.3452, allocations: 1.503 MB / 431.3 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003748/0.3455, allocations: 95.67 kB / 431.4 MB, free: 5.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.779e-05/0.3456, allocations: 0 / 431.4 MB, free: 5.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.538e-05/0.3457, allocations: 3.938 kB / 431.4 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.162e-05/0.3457, allocations: 7.938 kB / 431.4 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.3461, allocations: 15.97 kB / 431.4 MB, free: 5.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.3462, allocations: 31.86 kB / 431.5 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.3464, allocations: 8 kB / 431.5 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.671e-05/0.3464, allocations: 12 kB / 431.5 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.805e-05/0.3465, allocations: 11.92 kB / 431.5 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.3465, allocations: 0 / 431.5 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.471e-05/0.3465, allocations: 4 kB / 431.5 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.701e-05/0.3465, allocations: 11.92 kB / 431.5 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.228e-05/0.3466, allocations: 11.94 kB / 431.5 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.3467, allocations: 25.39 kB / 431.5 MB, free: 5.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3467, allocations: 4 kB / 431.5 MB, free: 5.816 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.48e-06/0.3467, allocations: 3.984 kB / 431.5 MB, free: 5.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.3467, allocations: 0 / 431.5 MB, free: 5.812 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.0006937/0.3474, allocations: 343.1 kB / 431.9 MB, free: 5.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.539e-05/0.3475, allocations: 8.031 kB / 431.9 MB, free: 5.422 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.3475, allocations: 8.891 kB / 431.9 MB, free: 5.414 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003951/0.3479, allocations: 176.2 kB / 432.1 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.3479, allocations: 4.375 kB / 432.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.348, allocations: 4.375 kB / 432.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004435/0.3484, allocations: 119.8 kB / 432.2 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3484, allocations: 192 / 432.2 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.3484, allocations: 3.938 kB / 432.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.3485, allocations: 0 / 432.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.964e-05/0.3486, allocations: 23.92 kB / 432.2 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002397/0.3488, allocations: 153.7 kB / 432.4 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.349, allocations: 54.55 kB / 432.4 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.719e-05/0.349, allocations: 24.92 kB / 432.4 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.3491, allocations: 0 / 432.4 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.3491, allocations: 34.55 kB / 432.5 MB, free: 4.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.3491, allocations: 0 / 432.5 MB, free: 4.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002667/0.3494, allocations: 73.55 kB / 432.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.3494, allocations: 59.41 kB / 432.6 MB, free: 4.559 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.3495, allocations: 105.8 kB / 432.7 MB, free: 4.445 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.3496, allocations: 29.7 kB / 432.7 MB, free: 4.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.518e-05/0.3496, allocations: 80.14 kB / 432.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.163e-05/0.3496, allocations: 0 / 432.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.3497, allocations: 25.64 kB / 432.8 MB, free: 4.297 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3498, allocations: 310.8 kB / 433.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.007e-05/0.3499, allocations: 12 kB / 433.2 MB, free: 3.973 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.947e-05/0.3499, allocations: 27.42 kB / 433.2 MB, free: 3.934 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.531e-05/0.35, allocations: 35.38 kB / 433.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.35, allocations: 0 / 433.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000102/0.3501, allocations: 65.77 kB / 433.3 MB, free: 3.816 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3501, allocations: 4 kB / 433.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.3501, allocations: 3.938 kB / 433.3 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.3502, allocations: 8 kB / 433.3 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.397e-05/0.3502, allocations: 4 kB / 433.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.3502, allocations: 4 kB / 433.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.3503, allocations: 0 / 433.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.3503, allocations: 0 / 433.3 MB, free: 3.793 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001188/0.3504, allocations: 118 kB / 433.4 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.3505, allocations: 57.61 kB / 433.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.451e-05/0.3505, allocations: 19.78 kB / 433.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3505, allocations: 0 / 433.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3505, allocations: 0 / 433.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3505, allocations: 0 / 433.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.3507, allocations: 157.7 kB / 433.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3507, allocations: 0 / 433.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-05/0.3508, allocations: 8 kB / 433.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3508, allocations: 4 kB / 433.7 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.3508, allocations: 3.938 kB / 433.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3508, allocations: 0 / 433.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.3508, allocations: 0 / 433.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.351, allocations: 85.06 kB / 433.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.351, allocations: 85.05 kB / 433.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.351, allocations: 3.938 kB / 433.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.596e-05/0.351, allocations: 7.984 kB / 433.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-06/0.3511, allocations: 4 kB / 433.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.3511, allocations: 4 kB / 433.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.85e-05/0.3511, allocations: 79.28 kB / 433.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3511, allocations: 0 / 433.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001855/0.3513, allocations: 4 kB / 433.9 MB, free: 3.051 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0001414/0.3514, allocations: 99.25 kB / 434 MB, free: 2.945 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.3516, allocations: 31.98 kB / 434.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3516, allocations: 4 kB / 434.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.3516, allocations: 0 / 434.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.3518, allocations: 20.53 kB / 434.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/0.3521, allocations: 125.4 kB / 434.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.3525, allocations: 0.6768 MB / 434.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.89e-05/0.3525, allocations: 7.984 kB / 434.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.3525, allocations: 11.62 kB / 434.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3525, allocations: 0 / 434.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of Templates: time 0.002728/0.3552, allocations: 340.8 kB / 435.2 MB, free: 1.688 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.26553054060787]