Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.001068/0.001068, allocations: 84.34 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.001264/0.001264, allocations: 161.5 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.071/1.071, allocations: 177 MB / 205.9 MB, free: 4.465 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.1603/0.1603, allocations: 34.87 MB / 297.4 MB, free: 13.34 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 380.1 MB, free: 22.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.576e-05, allocations: 2.875 kB / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.00272/0.002745, allocations: 1.759 MB / 381.9 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.003822, allocations: 0.9987 MB / 382.9 MB, free: 19.9 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.518e-05/0.003907, allocations: 0 / 382.9 MB, free: 19.9 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.004213, allocations: 39.77 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003038/0.004517, allocations: 103.4 kB / 383 MB, free: 19.76 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.004742, allocations: 83.59 kB / 383.1 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.004904, allocations: 107.7 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.005018, allocations: 4 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.382e-05/0.005102, allocations: 55.78 kB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.743e-05/0.00518, allocations: 31.89 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.005194, allocations: 4 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-05/0.00527, allocations: 43.92 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.461e-05/0.005314, allocations: 23.86 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.005346, allocations: 23.92 kB / 383.4 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.005501, allocations: 99.64 kB / 383.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.005504, allocations: 4 kB / 383.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005505, allocations: 0 / 383.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.005509, allocations: 0 / 383.5 MB, free: 19.29 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.0003848/0.005894, allocations: 459.7 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.005926, allocations: 8.031 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.005965, allocations: 16.84 kB / 383.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.006097, allocations: 153.4 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.006113, allocations: 384 / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.006129, allocations: 4.375 kB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.006236, allocations: 58.94 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.006251, allocations: 4.188 kB / 384.2 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.006259, allocations: 384 / 384.2 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.006265, allocations: 7.938 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.795e-05/0.006293, allocations: 11.92 kB / 384.2 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002263/0.00652, allocations: 260.4 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.00662, allocations: 47.16 kB / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.016e-05/0.00664, allocations: 15.67 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.006655, allocations: 11.94 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.006762, allocations: 65.05 kB / 384.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.006763, allocations: 0 / 384.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003158/0.007079, allocations: 141.4 kB / 384.7 MB, free: 17.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.007102, allocations: 51.41 kB / 384.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/0.007191, allocations: 241.7 kB / 385 MB, free: 17.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.007201, allocations: 29.7 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.007243, allocations: 154.8 kB / 385.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.007268, allocations: 23.84 kB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.0073, allocations: 31.36 kB / 385.2 MB, free: 17.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.022e-05/0.00736, allocations: 0.4923 MB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.975e-05/0.00738, allocations: 15.98 kB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.732e-05/0.007408, allocations: 27.36 kB / 385.8 MB, free: 16.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.229e-05/0.00747, allocations: 55.36 kB / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.007471, allocations: 0 / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001177/0.007589, allocations: 89.45 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.007606, allocations: 8 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.007613, allocations: 384 / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.007626, allocations: 0 / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.958e-05/0.007715, allocations: 19.98 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.00772, allocations: 8.031 kB / 385.9 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.701e-05/0.007757, allocations: 7.938 kB / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.007765, allocations: 4 kB / 385.9 MB, free: 16.59 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 7.292e-05/0.007838, allocations: 164.6 kB / 386.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.007859, allocations: 19.83 kB / 386.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.007995, allocations: 91.14 kB / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.007999, allocations: 0 / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.008002, allocations: 3.984 kB / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.008007, allocations: 3.984 kB / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.008252, allocations: 373.5 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.008254, allocations: 0 / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.037e-05/0.008285, allocations: 19.92 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.008287, allocations: 0 / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.008294, allocations: 4 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.008295, allocations: 0 / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.008297, allocations: 0 / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.008421, allocations: 259.6 kB / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.235e-05/0.008433, allocations: 7.953 kB / 386.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.008451, allocations: 4 kB / 386.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.365e-05/0.008494, allocations: 4 kB / 386.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.008524, allocations: 12.02 kB / 386.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.008535, allocations: 0 / 386.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.601e-05/0.008581, allocations: 180.2 kB / 387.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008581, allocations: 0 / 387.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.008753, allocations: 20 kB / 387.1 MB, free: 15.37 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.0008799/0.009633, allocations: 434.1 kB / 387.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.537e-05/0.009728, allocations: 43.61 kB / 387.6 MB, free: 15.06 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.00973, allocations: 0 / 387.6 MB, free: 15.06 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.001e-05/0.00976, allocations: 31.67 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.0002292/0.009989, allocations: 35.91 kB / 387.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.01027, allocations: 227.8 kB / 387.8 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.901e-05/0.0103, allocations: 71.2 kB / 387.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.967e-05/0.01034, allocations: 12.97 kB / 387.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.0104, allocations: 94.19 kB / 388 MB, free: 14.54 MB / 314.7 MB Notification: Performance of SimCode: time 8.11e-07/0.0104, allocations: 64 / 388 MB, free: 14.54 MB / 314.7 MB Notification: Performance of Templates: time 0.003511/0.01391, allocations: 2.069 MB / 390.1 MB, free: 12.5 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.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.3755104332230985]