Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001064/0.001064, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001588/0.002651, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001043/0.001043, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0014/0.002443, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9923/0.9923, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08698/1.079, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] 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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057e-05/1.217e-05, allocations: 5.406 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001648/0.001661, allocations: 1.541 MB / 246.7 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001373/0.001798, allocations: 100.3 kB / 246.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.001845, allocations: 7.938 kB / 246.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.872e-05/0.001864, allocations: 0 / 246.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 1.835e-05/0.001882, allocations: 7.938 kB / 246.8 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001088/0.001991, allocations: 31.84 kB / 246.9 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.208e-05/0.002063, allocations: 23.92 kB / 246.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.786e-05/0.002131, allocations: 4 kB / 246.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.558e-05/0.002187, allocations: 23.86 kB / 246.9 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.951e-05/0.002226, allocations: 15.97 kB / 246.9 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.002245, allocations: 0 / 246.9 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.203e-06/0.002252, allocations: 4 kB / 247 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.002272, allocations: 7.938 kB / 247 MB, free: 11.81 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.701e-05/0.002289, allocations: 8 kB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.23e-05/0.002361, allocations: 15.92 kB / 247 MB, free: 11.79 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.002369, allocations: 4 kB / 247 MB, free: 11.78 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.01e-07/0.002369, allocations: 0 / 247 MB, free: 11.78 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.00238, allocations: 4 kB / 247 MB, free: 11.78 MB / 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.0002824/0.002662, allocations: 240.6 kB / 247.2 MB, free: 11.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.00269, allocations: 12.03 kB / 247.2 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.002715, allocations: 4.922 kB / 247.2 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.002842, allocations: 121.7 kB / 247.4 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.924e-06/0.00285, allocations: 4.375 kB / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.002859, allocations: 384 / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.003011, allocations: 112.5 kB / 247.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.003017, allocations: 4.188 kB / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.97e-06/0.003022, allocations: 384 / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.003027, allocations: 384 / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.788e-05/0.003045, allocations: 11.92 kB / 247.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.361e-05/0.003099, allocations: 53.05 kB / 247.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.834e-05/0.003157, allocations: 38.55 kB / 247.6 MB, free: 11.1 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.685e-05/0.003174, allocations: 8.859 kB / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.003186, allocations: 8 kB / 247.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.003207, allocations: 30.56 kB / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 5.31e-07/0.003207, allocations: 0 / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 8.842e-05/0.003296, allocations: 45.62 kB / 247.7 MB, free: 10.99 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.003328, allocations: 59.41 kB / 247.7 MB, free: 10.92 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.314e-05/0.003381, allocations: 110.7 kB / 247.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.00339, allocations: 29.7 kB / 247.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.047e-05/0.00341, allocations: 84.12 kB / 247.9 MB, free: 10.68 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.422e-06/0.003411, allocations: 0 / 247.9 MB, free: 10.68 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.578e-05/0.003427, allocations: 13.72 kB / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.5e-05/0.003492, allocations: 322.8 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-06/0.003494, allocations: 0 / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.375e-06/0.003496, allocations: 0 / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.628e-05/0.003513, allocations: 75.28 kB / 248.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.445e-05/0.003527, allocations: 83.22 kB / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.756e-05/0.003555, allocations: 25.7 kB / 248.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002678/0.003823, allocations: 83.28 kB / 248.5 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.003841, allocations: 79.22 kB / 248.6 MB, free: 9.984 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.394e-05/0.003885, allocations: 162.6 kB / 248.8 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.128e-05/0.003906, allocations: 83.27 kB / 248.9 MB, free: 9.742 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-05/0.003942, allocations: 154.5 kB / 249 MB, free: 9.59 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.758e-05/0.003979, allocations: 79.28 kB / 249.1 MB, free: 9.512 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.003996, allocations: 75.28 kB / 249.2 MB, free: 9.438 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 6.167e-05/0.004058, allocations: 193 kB / 249.3 MB, free: 9.238 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.004091, allocations: 41.62 kB / 249.4 MB, free: 9.191 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.004114, allocations: 8 kB / 249.4 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.004115, allocations: 4 kB / 249.4 MB, free: 9.18 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.004116, allocations: 0 / 249.4 MB, free: 9.18 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.004119, allocations: 0 / 249.4 MB, free: 9.18 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.359e-05/0.004163, allocations: 69.83 kB / 249.5 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.004165, allocations: 0 / 249.5 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.578e-05/0.004221, allocations: 12 kB / 249.5 MB, free: 9.082 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-06/0.004227, allocations: 3.953 kB / 249.5 MB, free: 9.078 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.004228, allocations: 0 / 249.5 MB, free: 9.078 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-06/0.004233, allocations: 3.984 kB / 249.5 MB, free: 9.074 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.004236, allocations: 4 kB / 249.5 MB, free: 9.07 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.004236, allocations: 0 / 249.5 MB, free: 9.07 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.616e-05/0.004272, allocations: 61.02 kB / 249.6 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.532e-06/0.004279, allocations: 0 / 249.6 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-06/0.004287, allocations: 256 / 249.6 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-06/0.004289, allocations: 0 / 249.6 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.004296, allocations: 8 kB / 249.6 MB, free: 8.984 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.225e-05/0.004308, allocations: 16.84 kB / 249.6 MB, free: 8.965 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004308, allocations: 0 / 249.6 MB, free: 8.965 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001009/0.004409, allocations: 0 / 249.6 MB, free: 8.965 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: 3 (step.y,assignClock1.u,assignClock1.y) * 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 6.669e-05/0.004476, allocations: 76.42 kB / 249.6 MB, free: 8.879 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 3.703e-05/0.004513, allocations: 8 kB / 249.7 MB, free: 8.871 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.004517, allocations: 7.984 kB / 249.7 MB, free: 8.863 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.004518, allocations: 0 / 249.7 MB, free: 8.863 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000107/0.004625, allocations: 29.33 kB / 249.7 MB, free: 8.832 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.004917, allocations: 119.3 kB / 249.8 MB, free: 8.691 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.548e-05/0.004942, allocations: 59.34 kB / 249.9 MB, free: 8.613 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.382e-06/0.004949, allocations: 4 kB / 249.9 MB, free: 8.609 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/0.00498, allocations: 47.38 kB / 249.9 MB, free: 8.562 MB / 250.7 MB Notification: Performance of SimCode: time 5.01e-07/0.004981, allocations: 0 / 249.9 MB, free: 8.562 MB / 250.7 MB Notification: Performance of Templates: time 0.001471/0.006451, allocations: 325.4 kB / 250.2 MB, free: 8.246 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3587074549868703]