Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.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.001176/0.001176, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001694/0.00287, 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.001139/0.001139, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001524/0.002663, 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 0.9976/0.9976, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09426/1.092, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.2951/0.2951, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02496/0.32, allocations: 13.24 MB / 292.6 MB, free: 6.457 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.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 293.9 MB, free: 5.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.021e-05, allocations: 5.297 kB / 293.9 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.001983/0.002004, allocations: 1.698 MB / 295.6 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006902/0.002694, allocations: 0.549 MB / 296.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.173e-05/0.002745, allocations: 0 / 296.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.002921, allocations: 79.64 kB / 296.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.003132, allocations: 115.4 kB / 296.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.003336, allocations: 87.69 kB / 296.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.003469, allocations: 83.75 kB / 296.5 MB, free: 2.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.365e-05/0.003553, allocations: 16 kB / 296.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.466e-05/0.003648, allocations: 63.81 kB / 296.6 MB, free: 2.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.536e-05/0.003733, allocations: 43.94 kB / 296.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.003747, allocations: 4 kB / 296.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.656e-05/0.003823, allocations: 43.92 kB / 296.7 MB, free: 2.371 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.863e-05/0.003862, allocations: 23.88 kB / 296.7 MB, free: 2.348 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.003888, allocations: 11.94 kB / 296.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.004025, allocations: 83.62 kB / 296.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.699e-05/0.004042, allocations: 0 / 296.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.004044, allocations: 0 / 296.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.00406, allocations: 7.984 kB / 296.8 MB, free: 2.246 MB / 282.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.0003804/0.004441, allocations: 333 kB / 297.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.004471, allocations: 11.44 kB / 297.1 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.004499, allocations: 12.92 kB / 297.1 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.004623, allocations: 138.3 kB / 297.3 MB, free: 1.711 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.004632, allocations: 4.375 kB / 297.3 MB, free: 1.707 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.00465, allocations: 12.27 kB / 297.3 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.159e-05/0.004742, allocations: 50.95 kB / 297.3 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.004751, allocations: 192 / 297.3 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.004759, allocations: 4.375 kB / 297.3 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.004763, allocations: 384 / 297.3 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.571e-05/0.004789, allocations: 19.92 kB / 297.4 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.005003, allocations: 163.1 kB / 297.5 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.827e-05/0.005061, allocations: 42.56 kB / 297.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.005076, allocations: 8.859 kB / 297.6 MB, free: 1.375 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.005098, allocations: 4.078 kB / 297.6 MB, free: 1.371 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.005119, allocations: 34.56 kB / 297.6 MB, free: 1.328 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.005119, allocations: 0 / 297.6 MB, free: 1.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004179/0.005537, allocations: 153.4 kB / 297.8 MB, free: 1.172 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.005568, allocations: 55.41 kB / 297.8 MB, free: 1.105 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.005675, allocations: 185.7 kB / 298 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.005686, allocations: 29.7 kB / 298 MB, free: 0.875 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/0.005717, allocations: 100.1 kB / 298.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.005738, allocations: 23.75 kB / 298.1 MB, free: 0.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.005767, allocations: 25.69 kB / 298.2 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.275e-05/0.005839, allocations: 326.8 kB / 298.5 MB, free: 400 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.005852, allocations: 7.984 kB / 298.5 MB, free: 392 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.989e-06/0.005862, allocations: 4 kB / 298.5 MB, free: 388 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.829e-05/0.00589, allocations: 28.83 kB / 298.5 MB, free: 356 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.005891, allocations: 4 kB / 298.5 MB, free: 352 kB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.626e-05/0.005957, allocations: 61.62 kB / 298.6 MB, free: 284 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.005968, allocations: 4 kB / 298.6 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.005972, allocations: 0 / 298.6 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.005981, allocations: 7.922 kB / 298.6 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.067e-05/0.006051, allocations: 16 kB / 298.6 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.006054, allocations: 0 / 298.6 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.84e-05/0.006073, allocations: 7.984 kB / 298.6 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.006077, allocations: 0 / 298.6 MB, free: 248 kB / 282.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 (8): * Single equations (assignments): 8 * 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.223e-05/0.006129, allocations: 112.7 kB / 298.7 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.006145, allocations: 15.94 kB / 298.8 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.006245, allocations: 79.36 kB / 298.8 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.006247, allocations: 0 / 298.8 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.006249, allocations: 4 kB / 298.8 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.006252, allocations: 0 / 298.8 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.00648, allocations: 247.6 kB / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.006481, allocations: 0 / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.006524, allocations: 19.98 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.006535, allocations: 11.89 kB / 299.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.006537, allocations: 4 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-06/0.006541, allocations: 4.031 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.006543, allocations: 3.984 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.006544, allocations: 0 / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.772e-05/0.006632, allocations: 168.3 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.006643, allocations: 4 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.231e-05/0.006676, allocations: 4 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/0.006698, allocations: 3.984 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.006705, allocations: 8 kB / 299.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.249e-05/0.006747, allocations: 48.14 kB / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006747, allocations: 0 / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001347/0.006882, allocations: 23.94 kB / 299.4 MB, free: 15.43 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001411/0.008293, allocations: 0.6116 MB / 300 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.73e-05/0.00837, allocations: 40.77 kB / 300 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.008374, allocations: 0 / 300 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.222e-05/0.008397, allocations: 28.78 kB / 300.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.008569, allocations: 34.89 kB / 300.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000434/0.009003, allocations: 224.2 kB / 300.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.835e-05/0.009041, allocations: 75.31 kB / 300.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.461e-05/0.009076, allocations: 16.78 kB / 300.4 MB, free: 14.69 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.009131, allocations: 63.36 kB / 300.5 MB, free: 14.63 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.009133, allocations: 0 / 300.5 MB, free: 14.63 MB / 298.7 MB Notification: Performance of Templates: time 0.003268/0.0124, allocations: 1.487 MB / 301.9 MB, free: 13.14 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.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.9378861747682095]