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.0008023/0.0008023, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001151/0.001953, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007353/0.0007353, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009032/0.001638, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.923/0.923, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07878/1.002, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.543e-06/1.543e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108e-05/1.262e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.00174/0.001752, allocations: 1.548 MB / 246.6 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001389/0.001891, allocations: 103.6 kB / 246.7 MB, free: 12 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.001936, allocations: 0 / 246.7 MB, free: 12 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.949e-05/0.001956, allocations: 7.938 kB / 246.7 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 1.902e-05/0.001975, allocations: 3.938 kB / 246.7 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.002117, allocations: 31.84 kB / 246.7 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.218e-05/0.002209, allocations: 31.92 kB / 246.7 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.697e-05/0.002296, allocations: 4 kB / 246.7 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.589e-05/0.002362, allocations: 15.92 kB / 246.7 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.248e-05/0.002404, allocations: 11.98 kB / 246.8 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.002425, allocations: 4 kB / 246.8 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.535e-06/0.002433, allocations: 0 / 246.8 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.002451, allocations: 7.938 kB / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.002473, allocations: 8 kB / 246.8 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.31e-05/0.002546, allocations: 19.92 kB / 246.8 MB, free: 11.85 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.201e-05/0.002558, allocations: 0 / 246.8 MB, free: 11.85 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.00256, allocations: 3.984 kB / 246.8 MB, free: 11.85 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.002575, allocations: 0 / 246.8 MB, free: 11.85 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.0003287/0.002904, allocations: 244.6 kB / 247 MB, free: 11.58 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.002932, allocations: 8.031 kB / 247 MB, free: 11.57 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.002957, allocations: 4.938 kB / 247.1 MB, free: 11.57 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.003088, allocations: 125.6 kB / 247.2 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.003096, allocations: 4.375 kB / 247.2 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.003104, allocations: 4.375 kB / 247.2 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.003267, allocations: 105.3 kB / 247.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.003275, allocations: 192 / 247.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.481e-06/0.00328, allocations: 384 / 247.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.003285, allocations: 384 / 247.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.883e-05/0.003304, allocations: 7.938 kB / 247.3 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.419e-05/0.003358, allocations: 65.03 kB / 247.4 MB, free: 11.21 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.789e-05/0.003416, allocations: 30.52 kB / 247.4 MB, free: 11.17 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.928e-05/0.003435, allocations: 20.84 kB / 247.4 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.003451, allocations: 0 / 247.4 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.003468, allocations: 30.56 kB / 247.4 MB, free: 11.11 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.31e-07/0.003469, allocations: 0 / 247.4 MB, free: 11.11 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 8.215e-05/0.003551, allocations: 45.69 kB / 247.5 MB, free: 11.06 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.003582, allocations: 55.41 kB / 247.5 MB, free: 10.99 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.879e-05/0.003631, allocations: 114.6 kB / 247.6 MB, free: 10.87 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.003639, allocations: 25.7 kB / 247.7 MB, free: 10.84 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.864e-05/0.003658, allocations: 80.14 kB / 247.8 MB, free: 10.75 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.402e-06/0.00366, allocations: 0 / 247.8 MB, free: 10.75 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/0.003677, allocations: 17.7 kB / 247.8 MB, free: 10.73 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.258e-05/0.003739, allocations: 318.8 kB / 248.1 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.605e-06/0.003742, allocations: 0 / 248.1 MB, free: 10.41 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-06/0.003745, allocations: 4.25 kB / 248.1 MB, free: 10.41 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.765e-05/0.003763, allocations: 79.27 kB / 248.2 MB, free: 10.33 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-05/0.003779, allocations: 79.28 kB / 248.2 MB, free: 10.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.99e-05/0.003809, allocations: 33.64 kB / 248.3 MB, free: 10.21 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.003831, allocations: 79.28 kB / 248.4 MB, free: 10.13 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.003848, allocations: 79.22 kB / 248.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.554e-05/0.003884, allocations: 158.6 kB / 248.6 MB, free: 9.898 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.727e-05/0.003901, allocations: 83.23 kB / 248.7 MB, free: 9.816 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.882e-05/0.00393, allocations: 154.6 kB / 248.8 MB, free: 9.664 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.912e-05/0.003969, allocations: 79.27 kB / 248.9 MB, free: 9.586 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.003984, allocations: 83.22 kB / 249 MB, free: 9.504 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 5.631e-05/0.00404, allocations: 185.1 kB / 249.2 MB, free: 9.312 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.004074, allocations: 45.86 kB / 249.2 MB, free: 9.262 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.004096, allocations: 8 kB / 249.2 MB, free: 9.258 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.004097, allocations: 0 / 249.2 MB, free: 9.258 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.004099, allocations: 0 / 249.2 MB, free: 9.258 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.004102, allocations: 0 / 249.2 MB, free: 9.258 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.801e-05/0.00415, allocations: 73.81 kB / 249.3 MB, free: 9.168 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.004152, allocations: 0 / 249.3 MB, free: 9.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.74e-05/0.00421, allocations: 12 kB / 249.3 MB, free: 9.156 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-06/0.004216, allocations: 3.953 kB / 249.3 MB, free: 9.152 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.004218, allocations: 4 kB / 249.3 MB, free: 9.148 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-06/0.004221, allocations: 3.938 kB / 249.3 MB, free: 9.145 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.004223, allocations: 0 / 249.3 MB, free: 9.145 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.004224, allocations: 0 / 249.3 MB, free: 9.145 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.465e-05/0.004258, allocations: 61.06 kB / 249.4 MB, free: 9.066 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-06/0.004266, allocations: 0 / 249.4 MB, free: 9.066 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-06/0.004275, allocations: 4 kB / 249.4 MB, free: 9.062 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-06/0.004277, allocations: 0 / 249.4 MB, free: 9.062 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.00428, allocations: 4 kB / 249.4 MB, free: 9.059 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.102e-05/0.004291, allocations: 12.84 kB / 249.4 MB, free: 9.043 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004291, allocations: 0 / 249.4 MB, free: 9.043 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001055/0.004397, allocations: 4 kB / 249.4 MB, free: 9.039 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.548e-05/0.004462, allocations: 72.61 kB / 249.5 MB, free: 8.957 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 3.885e-05/0.004501, allocations: 15.94 kB / 249.5 MB, free: 8.941 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.004503, allocations: 0 / 249.5 MB, free: 8.941 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.5e-07/0.004504, allocations: 0 / 249.5 MB, free: 8.941 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.802e-05/0.004602, allocations: 24.17 kB / 249.5 MB, free: 8.918 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/0.004912, allocations: 123.3 kB / 249.6 MB, free: 8.773 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.901e-05/0.004941, allocations: 55.36 kB / 249.7 MB, free: 8.699 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.171e-06/0.004947, allocations: 3.984 kB / 249.7 MB, free: 8.695 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.004977, allocations: 51.38 kB / 249.7 MB, free: 8.645 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.004977, allocations: 0 / 249.7 MB, free: 8.645 MB / 250.7 MB Notification: Performance of Templates: time 0.001422/0.006399, allocations: 320.7 kB / 250 MB, free: 8.332 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.376882861368358]