Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.00139/0.00139, allocations: 95.5 kB / 21.2 MB, free: 3.375 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.002014/0.002014, allocations: 160.5 kB / 24.56 MB, free: 20 kB / 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.004/1.004, allocations: 177 MB / 204.8 MB, free: 5.586 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.2846/0.2846, allocations: 34.87 MB / 296.3 MB, free: 0.5352 MB / 266.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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.761e-05/1.874e-05, allocations: 3.156 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002034/0.002052, allocations: 1.633 MB / 380.4 MB, free: 428 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.003282, allocations: 1.285 MB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.716e-05/0.003339, allocations: 0 / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.003559, allocations: 19.84 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.003824, allocations: 87.5 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.004011, allocations: 95.62 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.004143, allocations: 75.75 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.004246, allocations: 7.859 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.051e-05/0.004306, allocations: 35.91 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.552e-05/0.004402, allocations: 27.84 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.004417, allocations: 8 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.004537, allocations: 87.88 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.312e-05/0.00459, allocations: 19.92 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.004616, allocations: 8 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.004819, allocations: 135.5 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.004823, allocations: 4 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004824, allocations: 0 / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.004828, allocations: 0 / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004201/0.005248, allocations: 424 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.005288, allocations: 12.02 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.005331, allocations: 12.89 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.005471, allocations: 128.6 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.005481, allocations: 4.375 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.005504, allocations: 4.375 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.005638, allocations: 115.9 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.005647, allocations: 192 / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.005658, allocations: 384 / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.005666, allocations: 4.375 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.778e-05/0.005694, allocations: 11.92 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.005965, allocations: 275.8 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.006128, allocations: 50.98 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.033e-05/0.006158, allocations: 15.69 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.006179, allocations: 0 / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.006203, allocations: 41.47 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.006204, allocations: 0 / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003385/0.006542, allocations: 105.3 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.006582, allocations: 77.11 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.006695, allocations: 192.6 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.006707, allocations: 33.7 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.006757, allocations: 134.9 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.006776, allocations: 27.8 kB / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.006808, allocations: 27.36 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.006967, allocations: 0.4884 MB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.802e-05/0.006985, allocations: 7.984 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.204e-05/0.007017, allocations: 45.08 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.518e-05/0.007052, allocations: 31.62 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.007053, allocations: 0 / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.13e-05/0.007134, allocations: 57.62 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.007146, allocations: 4 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.00715, allocations: 0 / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.007165, allocations: 0 / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.329e-05/0.007208, allocations: 20.02 kB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.007213, allocations: 256 / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.907e-05/0.007232, allocations: 3.953 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.007239, allocations: 8 kB / 384.6 MB, free: 11.96 MB / 362.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 (5): * Single equations (assignments): 5 * 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 6.116e-05/0.0073, allocations: 160.5 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.00732, allocations: 11.89 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.007425, allocations: 66.14 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.007427, allocations: 0 / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.00743, allocations: 3.938 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.007433, allocations: 0 / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.007664, allocations: 333.3 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.007665, allocations: 0 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-05/0.007694, allocations: 11.98 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.007696, allocations: 0 / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.007703, allocations: 0 / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.007705, allocations: 4 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007706, allocations: 0 / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.98e-05/0.007806, allocations: 207.8 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-06/0.007815, allocations: 7.953 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.007828, allocations: 3.984 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.089e-05/0.007859, allocations: 4 kB / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.007889, allocations: 7.938 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.007892, allocations: 0 / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.975e-05/0.007951, allocations: 157.5 kB / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007951, allocations: 0 / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001876/0.008139, allocations: 39.86 kB / 385.6 MB, free: 10.88 MB / 362.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 (5): * Single equations (assignments): 5 * 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 0.0008924/0.009031, allocations: 484.8 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.659e-05/0.009118, allocations: 27.67 kB / 386.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.00912, allocations: 0 / 386.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.225e-05/0.009142, allocations: 27.61 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.009336, allocations: 23.92 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.009613, allocations: 165.9 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.39e-05/0.009647, allocations: 67.34 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.254e-05/0.009679, allocations: 8 kB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/0.009709, allocations: 16.48 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.009709, allocations: 0 / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of Templates: time 0.003329/0.01304, allocations: 1.825 MB / 388.2 MB, free: 8.348 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.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.346504309680313]