Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.001473/0.001473, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001316/0.001316, allocations: 163 kB / 25.61 MB, free: 8.582 MB / 18.57 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.018/1.018, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1662/0.1662, allocations: 34.88 MB / 297.4 MB, free: 13.35 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.026e-05, allocations: 2.312 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002496/0.002516, allocations: 1.771 MB / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.003844, allocations: 0.9945 MB / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.579e-05/0.00394, allocations: 3.938 kB / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003445/0.004284, allocations: 43.81 kB / 382.9 MB, free: 19.83 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003694/0.004654, allocations: 115.3 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.004932, allocations: 79.66 kB / 383.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.005127, allocations: 131.6 kB / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.005239, allocations: 12 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.589e-05/0.005335, allocations: 71.81 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.515e-05/0.005431, allocations: 39.89 kB / 383.4 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.005447, allocations: 4 kB / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.862e-05/0.005545, allocations: 71.84 kB / 383.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.583e-05/0.005601, allocations: 31.84 kB / 383.5 MB, free: 19.28 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/0.005639, allocations: 23.92 kB / 383.5 MB, free: 19.26 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.005821, allocations: 131.5 kB / 383.6 MB, free: 19.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.005823, allocations: 0 / 383.6 MB, free: 19.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.005823, allocations: 0 / 383.6 MB, free: 19.13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.005828, allocations: 0 / 383.6 MB, free: 19.13 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004382/0.006266, allocations: 475.6 kB / 384.1 MB, free: 18.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.006306, allocations: 8.031 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.006347, allocations: 12.89 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.006511, allocations: 161.4 kB / 384.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.006533, allocations: 384 / 384.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.006556, allocations: 4.375 kB / 384.3 MB, free: 18.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.006683, allocations: 74.86 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.006696, allocations: 192 / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.006706, allocations: 8.359 kB / 384.3 MB, free: 18.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.006715, allocations: 7.938 kB / 384.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.644e-05/0.006771, allocations: 23.97 kB / 384.4 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.007063, allocations: 284.2 kB / 384.6 MB, free: 18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.007249, allocations: 78.98 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.191e-05/0.007281, allocations: 19.67 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.007296, allocations: 4 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/0.007398, allocations: 81.11 kB / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.007399, allocations: 0 / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005046/0.007904, allocations: 237.5 kB / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.00793, allocations: 59.41 kB / 385.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.788e-05/0.008028, allocations: 233.8 kB / 385.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.00804, allocations: 29.7 kB / 385.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.008087, allocations: 155.1 kB / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.008122, allocations: 43.62 kB / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.008158, allocations: 43.34 kB / 385.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.024e-05/0.008219, allocations: 0.4961 MB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.133e-05/0.00824, allocations: 15.98 kB / 386.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.3e-05/0.008273, allocations: 43.34 kB / 386.2 MB, free: 16.37 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.675e-05/0.00833, allocations: 66.22 kB / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.008331, allocations: 4 kB / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001202/0.008451, allocations: 133.5 kB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.008464, allocations: 4 kB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.00847, allocations: 0 / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.008482, allocations: 0 / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.129e-05/0.008544, allocations: 23.98 kB / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.008549, allocations: 7.938 kB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.773e-05/0.008577, allocations: 4 kB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.008584, allocations: 4 kB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.124e-05/0.008656, allocations: 164.6 kB / 386.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.008684, allocations: 23.83 kB / 386.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.008863, allocations: 148.7 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.008867, allocations: 7.938 kB / 386.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.008869, allocations: 0 / 386.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.008874, allocations: 3.938 kB / 386.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.00919, allocations: 445.2 kB / 387.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.009193, allocations: 0 / 387.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.009234, allocations: 27.98 kB / 387.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.009237, allocations: 4.062 kB / 387.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.009247, allocations: 7.984 kB / 387.2 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.00925, allocations: 3.938 kB / 387.2 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.009252, allocations: 0 / 387.2 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.009414, allocations: 307 kB / 387.5 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.36e-05/0.009428, allocations: 11.91 kB / 387.5 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.009449, allocations: 4 kB / 387.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.477e-05/0.009494, allocations: 11.98 kB / 387.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.009533, allocations: 7.984 kB / 387.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.009547, allocations: 8 kB / 387.6 MB, free: 14.87 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.568e-05/0.009603, allocations: 172.2 kB / 387.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009603, allocations: 0 / 387.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002059/0.009809, allocations: 43.81 kB / 387.8 MB, free: 14.66 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001044/0.01085, allocations: 482.6 kB / 388.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001272/0.01098, allocations: 71.59 kB / 388.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01098, allocations: 0 / 388.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.742e-05/0.01103, allocations: 54.11 kB / 388.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.01126, allocations: 38.67 kB / 388.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.01162, allocations: 280 kB / 388.7 MB, free: 13.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.548e-05/0.01165, allocations: 75.69 kB / 388.8 MB, free: 13.81 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.675e-05/0.0117, allocations: 29.66 kB / 388.8 MB, free: 13.78 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.964e-05/0.01177, allocations: 98.19 kB / 388.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01177, allocations: 0 / 388.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of Templates: time 0.004042/0.01581, allocations: 2.641 MB / 391.5 MB, free: 11.08 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.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: 3.598380937706679]