Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.001127/0.001127, 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.001014/0.001014, allocations: 154.4 kB / 25.61 MB, free: 8.891 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/1, allocations: 177 MB / 205.9 MB, free: 4.453 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.1469/0.1469, allocations: 34.88 MB / 297.4 MB, free: 13.32 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.236e-05, allocations: 6.312 kB / 380.1 MB, free: 22.63 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002125/0.002147, allocations: 1.748 MB / 381.9 MB, free: 20.87 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.003262, allocations: 0.9944 MB / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.003334, allocations: 3.938 kB / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.003592, allocations: 43.75 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.003815, allocations: 99.47 kB / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.003945, allocations: 79.62 kB / 383.1 MB, free: 19.65 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.004075, allocations: 115.5 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.98e-05/0.004155, allocations: 4 kB / 383.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.359e-05/0.004229, allocations: 59.81 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.527e-05/0.004294, allocations: 23.92 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.004307, allocations: 4 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.287e-05/0.00437, allocations: 43.92 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.406e-05/0.004414, allocations: 27.91 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.004441, allocations: 19.92 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.004581, allocations: 103.5 kB / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.004583, allocations: 0 / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004583, allocations: 4 kB / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.004588, allocations: 0 / 383.5 MB, free: 19.25 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003217/0.004909, allocations: 443.9 kB / 383.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.776e-05/0.004937, allocations: 8.031 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.004967, allocations: 20.84 kB / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.005082, allocations: 150.5 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.005096, allocations: 384 / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.005112, allocations: 8.312 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.277e-05/0.005205, allocations: 58.94 kB / 384.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.005214, allocations: 192 / 384.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.005223, allocations: 8.375 kB / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.005228, allocations: 3.938 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.329e-05/0.005252, allocations: 7.984 kB / 384.2 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.005435, allocations: 264.3 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.074e-05/0.005505, allocations: 51.09 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.761e-05/0.005523, allocations: 19.67 kB / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.005533, allocations: 4 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.89e-05/0.005602, allocations: 57.05 kB / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.005603, allocations: 8 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002854/0.005888, allocations: 141.4 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.005912, allocations: 55.34 kB / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.371e-05/0.005996, allocations: 230.8 kB / 385 MB, free: 17.58 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.006004, allocations: 25.7 kB / 385 MB, free: 17.55 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.006045, allocations: 154.8 kB / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.00607, allocations: 23.78 kB / 385.2 MB, free: 17.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.006106, allocations: 31.36 kB / 385.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.589e-05/0.006162, allocations: 0.5001 MB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/0.006176, allocations: 8.312 kB / 385.7 MB, free: 16.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.437e-05/0.0062, allocations: 39.34 kB / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.075e-05/0.006241, allocations: 43.42 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006243, allocations: 8 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.358e-05/0.006327, allocations: 89.47 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.006338, allocations: 4 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.006344, allocations: 0 / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.006355, allocations: 4 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.232e-05/0.006417, allocations: 15.98 kB / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.00642, allocations: 0 / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.888e-05/0.006449, allocations: 11.97 kB / 385.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.006454, allocations: 0 / 385.9 MB, free: 16.58 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 (10): * Single equations (assignments): 10 * 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.34e-05/0.006508, allocations: 164.6 kB / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.006522, allocations: 19.84 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.006641, allocations: 103.1 kB / 386.2 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.006643, allocations: 0 / 386.2 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.006646, allocations: 0 / 386.2 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.006652, allocations: 0 / 386.2 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.006864, allocations: 361.6 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.006865, allocations: 4.031 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.387e-05/0.006889, allocations: 11.98 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.006892, allocations: 4 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.006897, allocations: 0 / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.006898, allocations: 3.984 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.0069, allocations: 4 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.819e-05/0.006988, allocations: 259.6 kB / 386.8 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.876e-06/0.006997, allocations: 7.953 kB / 386.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.007018, allocations: 4 kB / 386.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.783e-05/0.007056, allocations: 4 kB / 386.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.007079, allocations: 11.92 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.007089, allocations: 4 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.01e-05/0.007129, allocations: 167.1 kB / 387 MB, free: 15.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007129, allocations: 0 / 387 MB, free: 15.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001595/0.007289, allocations: 27.92 kB / 387.1 MB, free: 15.36 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.0008659/0.008155, allocations: 434.4 kB / 387.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.534e-05/0.00824, allocations: 51.58 kB / 387.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.008241, allocations: 0 / 387.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.108e-05/0.008272, allocations: 27.8 kB / 387.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.00848, allocations: 35.92 kB / 387.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002493/0.008729, allocations: 219.8 kB / 387.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.729e-05/0.008756, allocations: 75.19 kB / 387.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.062e-05/0.008787, allocations: 13.28 kB / 387.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/0.008838, allocations: 90.19 kB / 388 MB, free: 14.54 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.008839, allocations: 0 / 388 MB, free: 14.54 MB / 314.7 MB Notification: Performance of Templates: time 0.003313/0.01215, allocations: 2.07 MB / 390.1 MB, free: 12.51 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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.285180342849344]