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.001568/0.001568, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002756/0.004325, 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.001381/0.001381, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00165/0.003031, 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 1.06/1.06, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1108/1.171, 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.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 1.904e-06/1.904e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.899e-05, allocations: 5.266 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003158/0.003187, allocations: 1.568 MB / 246.6 MB, free: 12.06 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002375/0.003425, allocations: 111.5 kB / 246.7 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.956e-05/0.003485, allocations: 0 / 246.7 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.003511, allocations: 3.938 kB / 246.7 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.182e-05/0.003543, allocations: 4 kB / 246.7 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.003706, allocations: 31.84 kB / 246.7 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.575e-05/0.003802, allocations: 23.86 kB / 246.8 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.426e-05/0.003896, allocations: 8 kB / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.155e-05/0.003967, allocations: 15.98 kB / 246.8 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.142e-05/0.004019, allocations: 7.984 kB / 246.8 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.004046, allocations: 3.938 kB / 246.8 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.004057, allocations: 8 kB / 246.8 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.403e-05/0.004081, allocations: 4 kB / 246.8 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.004112, allocations: 7.984 kB / 246.8 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.004214, allocations: 19.92 kB / 246.8 MB, free: 11.82 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.709e-05/0.004231, allocations: 0 / 246.8 MB, free: 11.82 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004232, allocations: 0 / 246.8 MB, free: 11.82 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.189e-05/0.004254, allocations: 0 / 246.8 MB, free: 11.82 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.0004222/0.004676, allocations: 244.6 kB / 247.1 MB, free: 11.55 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.004713, allocations: 12.62 kB / 247.1 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.004745, allocations: 4.922 kB / 247.1 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.004916, allocations: 125.6 kB / 247.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.004928, allocations: 8.375 kB / 247.2 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-06/0.004937, allocations: 384 / 247.2 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.005154, allocations: 101.3 kB / 247.3 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.005162, allocations: 192 / 247.3 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.005169, allocations: 384 / 247.3 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.005175, allocations: 4.375 kB / 247.3 MB, free: 11.26 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.698e-05/0.005202, allocations: 11.92 kB / 247.3 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.868e-05/0.005281, allocations: 61.05 kB / 247.4 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.722e-05/0.005368, allocations: 38.48 kB / 247.4 MB, free: 11.13 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.659e-05/0.005395, allocations: 16.8 kB / 247.5 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.005417, allocations: 4 kB / 247.5 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.00544, allocations: 30.56 kB / 247.5 MB, free: 11.07 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.005441, allocations: 0 / 247.5 MB, free: 11.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001234/0.005565, allocations: 41.69 kB / 247.5 MB, free: 11.02 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.005615, allocations: 59.34 kB / 247.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.153e-05/0.005687, allocations: 110.7 kB / 247.7 MB, free: 10.83 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.005698, allocations: 25.7 kB / 247.7 MB, free: 10.8 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.856e-05/0.005727, allocations: 88.14 kB / 247.8 MB, free: 10.71 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.005728, allocations: 0 / 247.8 MB, free: 10.71 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/0.00575, allocations: 13.7 kB / 247.8 MB, free: 10.69 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.005851, allocations: 322.8 kB / 248.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.046e-06/0.005855, allocations: 0 / 248.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.887e-06/0.005858, allocations: 256 / 248.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.401e-05/0.005882, allocations: 75.28 kB / 248.2 MB, free: 10.29 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-05/0.005911, allocations: 79.28 kB / 248.3 MB, free: 10.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.521e-05/0.005966, allocations: 29.7 kB / 248.3 MB, free: 10.18 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.006005, allocations: 79.28 kB / 248.4 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.138e-05/0.006037, allocations: 87.22 kB / 248.5 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.111e-05/0.006088, allocations: 150.6 kB / 248.6 MB, free: 9.863 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.678e-05/0.006115, allocations: 83.23 kB / 248.7 MB, free: 9.781 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.824e-05/0.006163, allocations: 162.5 kB / 248.9 MB, free: 9.621 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.313e-05/0.006226, allocations: 75.28 kB / 248.9 MB, free: 9.547 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.00625, allocations: 79.22 kB / 249 MB, free: 9.469 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 7.981e-05/0.00633, allocations: 189.1 kB / 249.2 MB, free: 9.273 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/0.006386, allocations: 37.69 kB / 249.2 MB, free: 9.23 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.882e-05/0.006415, allocations: 8 kB / 249.2 MB, free: 9.227 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.006417, allocations: 0 / 249.2 MB, free: 9.227 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.006419, allocations: 4 kB / 249.2 MB, free: 9.223 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.006425, allocations: 4 kB / 249.2 MB, free: 9.219 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.1e-05/0.006486, allocations: 69.81 kB / 249.3 MB, free: 9.133 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.006489, allocations: 0 / 249.3 MB, free: 9.133 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-05/0.00657, allocations: 11.94 kB / 249.3 MB, free: 9.121 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-06/0.00658, allocations: 7.953 kB / 249.3 MB, free: 9.113 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.006582, allocations: 0 / 249.3 MB, free: 9.113 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.006587, allocations: 0 / 249.3 MB, free: 9.113 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.006589, allocations: 3.938 kB / 249.3 MB, free: 9.109 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.006593, allocations: 3.984 kB / 249.3 MB, free: 9.105 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.943e-05/0.006642, allocations: 53.08 kB / 249.4 MB, free: 9.035 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.006653, allocations: 8 kB / 249.4 MB, free: 9.027 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.022e-05/0.006673, allocations: 4 kB / 249.4 MB, free: 9.023 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-06/0.006676, allocations: 0 / 249.4 MB, free: 9.023 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.006681, allocations: 0 / 249.4 MB, free: 9.023 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.682e-05/0.006698, allocations: 12.84 kB / 249.4 MB, free: 9.008 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006698, allocations: 0 / 249.4 MB, free: 9.008 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001876/0.006886, allocations: 4 kB / 249.4 MB, free: 9.004 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: 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 9.738e-05/0.006983, allocations: 80.36 kB / 249.5 MB, free: 8.914 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.822e-05/0.007031, allocations: 4.234 kB / 249.5 MB, free: 8.91 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.007036, allocations: 8 kB / 249.5 MB, free: 8.902 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.9e-07/0.007036, allocations: 0 / 249.5 MB, free: 8.902 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.007159, allocations: 28.27 kB / 249.5 MB, free: 8.875 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.007584, allocations: 123.4 kB / 249.7 MB, free: 8.73 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.018e-05/0.007624, allocations: 59.34 kB / 249.7 MB, free: 8.652 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.325e-05/0.007638, allocations: 4 kB / 249.7 MB, free: 8.648 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.007675, allocations: 47.38 kB / 249.8 MB, free: 8.602 MB / 250.7 MB Notification: Performance of SimCode: time 7.72e-07/0.007676, allocations: 0 / 249.8 MB, free: 8.602 MB / 250.7 MB Notification: Performance of Templates: time 0.002232/0.009908, allocations: 316.8 kB / 250.1 MB, free: 8.293 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] 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","",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.5488556688651443]