Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.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.00135/0.00135, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001141/0.001141, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.995/0.995, allocations: 177 MB / 204.8 MB, free: 5.602 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.2597/0.2597, allocations: 34.87 MB / 296.3 MB, free: 0.5469 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.14e-05, allocations: 8.219 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002164/0.002186, allocations: 1.646 MB / 380.4 MB, free: 432 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007929/0.002979, allocations: 0.5408 MB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.618e-05/0.003035, allocations: 0 / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.003334, allocations: 79.64 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.003646, allocations: 107.5 kB / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.003911, allocations: 95.62 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.004123, allocations: 95.69 kB / 381.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.004259, allocations: 7.984 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.118e-05/0.00435, allocations: 47.89 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.004479, allocations: 51.88 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.004498, allocations: 4 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.232e-05/0.004591, allocations: 39.92 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.946e-05/0.00465, allocations: 27.91 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.004685, allocations: 19.94 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.004875, allocations: 83.72 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.004878, allocations: 0 / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.004879, allocations: 0 / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.004884, allocations: 3.938 kB / 381.6 MB, free: 15.23 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004445/0.005328, allocations: 439.9 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.005363, allocations: 16.02 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.005404, allocations: 12.84 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.005537, allocations: 149.1 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.005547, allocations: 4.375 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.005568, allocations: 4.375 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.005688, allocations: 66.92 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.005698, allocations: 192 / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.005708, allocations: 384 / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.005715, allocations: 8.312 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.153e-05/0.005746, allocations: 11.92 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.006049, allocations: 295.7 kB / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.615e-05/0.006115, allocations: 42.98 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.507e-05/0.00614, allocations: 15.69 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.00616, allocations: 0 / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.006192, allocations: 41.41 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.006193, allocations: 4 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005368/0.00673, allocations: 165.4 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.006767, allocations: 55.41 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.006909, allocations: 238.4 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.006918, allocations: 25.7 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.006981, allocations: 154.8 kB / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.007006, allocations: 31.73 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.007038, allocations: 27.38 kB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.00717, allocations: 0.5001 MB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.49e-05/0.007195, allocations: 11.98 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.83e-05/0.007213, allocations: 11.94 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.32e-05/0.007266, allocations: 35.69 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.007268, allocations: 0 / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.544e-05/0.007363, allocations: 81.5 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.007377, allocations: 8 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.007382, allocations: 0 / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.007394, allocations: 0 / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.586e-05/0.00747, allocations: 12 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.007475, allocations: 4.25 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.281e-05/0.007498, allocations: 15.98 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-06/0.007504, allocations: 0 / 384.1 MB, free: 12.56 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 (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 7.672e-05/0.00758, allocations: 164.5 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.007602, allocations: 19.84 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.007741, allocations: 87.12 kB / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.007744, allocations: 0 / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.007751, allocations: 3.984 kB / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.007755, allocations: 0 / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/0.008075, allocations: 373 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.008078, allocations: 4.031 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.134e-05/0.008119, allocations: 27.92 kB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.008123, allocations: 0 / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.00813, allocations: 432 / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.008133, allocations: 4 kB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.008135, allocations: 0 / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.008267, allocations: 235.5 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.008278, allocations: 7.953 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.008289, allocations: 0 / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.368e-05/0.008323, allocations: 15.92 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.47e-05/0.008358, allocations: 7.984 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.008361, allocations: 4 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.581e-05/0.008437, allocations: 167.2 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008437, allocations: 3.938 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001673/0.008605, allocations: 23.94 kB / 385.2 MB, free: 11.35 MB / 362.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.0009206/0.009525, allocations: 428 kB / 385.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.009665, allocations: 47.58 kB / 385.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.009668, allocations: 4 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.284e-05/0.009701, allocations: 31.66 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.009939, allocations: 23.95 kB / 385.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003789/0.01032, allocations: 237.8 kB / 386 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.219e-05/0.01036, allocations: 67.34 kB / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.136e-05/0.01039, allocations: 12.72 kB / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.01042, allocations: 16.5 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01042, allocations: 4.062 kB / 386.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of Templates: time 0.003407/0.01383, allocations: 1.461 MB / 387.5 MB, free: 9.117 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.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.0131041067652404]