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.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.009533/0.009533, allocations: 106 kB / 21.98 MB, free: 5.227 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.002342/0.002342, allocations: 216.4 kB / 25.29 MB, free: 3.203 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.596/1.596, allocations: 230.6 MB / 259 MB, free: 8.027 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [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.002021/0.002021, allocations: 68.55 kB / 379.8 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2752, allocations: 53.35 MB / 433.2 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002887/0.2781, allocations: 1.508 MB / 434.7 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002864/0.2784, allocations: 95.62 kB / 434.8 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.017e-05/0.2784, allocations: 0 / 434.8 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.2785, allocations: 3.938 kB / 434.8 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.893e-05/0.2785, allocations: 11.92 kB / 434.8 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.2787, allocations: 15.98 kB / 434.8 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.409e-05/0.2788, allocations: 27.86 kB / 434.8 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2789, allocations: 11.98 kB / 434.8 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.245e-05/0.279, allocations: 12 kB / 434.9 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.807e-05/0.279, allocations: 15.92 kB / 434.9 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.279, allocations: 0 / 434.9 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.918e-06/0.279, allocations: 7.938 kB / 434.9 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.2791, allocations: 7.922 kB / 434.9 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.788e-05/0.2791, allocations: 11.94 kB / 434.9 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.833e-05/0.2792, allocations: 31.56 kB / 434.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.2792, allocations: 0 / 434.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2792, allocations: 0 / 434.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.2792, allocations: 0 / 434.9 MB, free: 5.195 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.0004334/0.2796, allocations: 267.8 kB / 435.2 MB, free: 4.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2797, allocations: 15.97 kB / 435.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.2797, allocations: 4.891 kB / 435.2 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.2799, allocations: 122.5 kB / 435.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.2799, allocations: 4.359 kB / 435.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.2799, allocations: 4.375 kB / 435.3 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.2802, allocations: 103.9 kB / 435.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.2803, allocations: 192 / 435.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.2803, allocations: 7.938 kB / 435.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.2803, allocations: 3.984 kB / 435.5 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.602e-05/0.2804, allocations: 11.98 kB / 435.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.2805, allocations: 132.7 kB / 435.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.2807, allocations: 58.48 kB / 435.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.161e-05/0.2807, allocations: 20.92 kB / 435.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.2808, allocations: 4 kB / 435.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.2808, allocations: 34.56 kB / 435.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2808, allocations: 0 / 435.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002227/0.281, allocations: 77.55 kB / 435.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.2811, allocations: 55.39 kB / 435.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.001e-05/0.2812, allocations: 105.9 kB / 435.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.2812, allocations: 25.7 kB / 436 MB, free: 3.992 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.2812, allocations: 88.14 kB / 436.1 MB, free: 3.902 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.037e-06/0.2812, allocations: 3.984 kB / 436.1 MB, free: 3.898 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.2813, allocations: 13.72 kB / 436.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.2814, allocations: 314.8 kB / 436.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.958e-06/0.2814, allocations: 4 kB / 436.4 MB, free: 3.559 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.444e-05/0.2815, allocations: 35.42 kB / 436.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.753e-05/0.2815, allocations: 31.62 kB / 436.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2815, allocations: 4 kB / 436.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.593e-05/0.2816, allocations: 57.62 kB / 436.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2816, allocations: 8 kB / 436.5 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.2816, allocations: 3.938 kB / 436.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.2816, allocations: 3.938 kB / 436.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.923e-05/0.2817, allocations: 8 kB / 436.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2817, allocations: 0 / 436.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/0.2817, allocations: 7.891 kB / 436.5 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.2817, allocations: 4 kB / 436.5 MB, free: 3.367 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 8.783e-05/0.2818, allocations: 121.9 kB / 436.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.2819, allocations: 53.67 kB / 436.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.282, allocations: 11.94 kB / 436.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.282, allocations: 3.938 kB / 436.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.282, allocations: 4 kB / 436.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.282, allocations: 0 / 436.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.2821, allocations: 128.7 kB / 436.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2821, allocations: 0 / 436.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.536e-05/0.2821, allocations: 8 kB / 436.9 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2821, allocations: 4 kB / 436.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.2821, allocations: 3.938 kB / 436.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2821, allocations: 0 / 436.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2821, allocations: 0 / 436.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.2823, allocations: 89.38 kB / 437 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-06/0.2823, allocations: 0 / 437 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.2823, allocations: 7.938 kB / 437 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.405e-05/0.2823, allocations: 7.984 kB / 437 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-06/0.2823, allocations: 0 / 437 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.2823, allocations: 4 kB / 437 MB, free: 2.844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.969e-05/0.2824, allocations: 83.28 kB / 437.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2824, allocations: 3.938 kB / 437.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001842/0.2826, allocations: 4 kB / 437.1 MB, free: 2.754 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.0001026/0.2827, allocations: 92.52 kB / 437.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.2828, allocations: 27.98 kB / 437.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2828, allocations: 0 / 437.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.2828, allocations: 0 / 437.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.283, allocations: 25.42 kB / 437.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003363/0.2833, allocations: 147.3 kB / 437.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.2836, allocations: 0.6846 MB / 438 MB, free: 1.719 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.2837, allocations: 7.438 kB / 438 MB, free: 1.711 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2837, allocations: 8.25 kB / 438.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of Templates: time 0.002026/0.2857, allocations: 0.5538 MB / 438.6 MB, free: 1.152 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.0853874939493835]