Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001911/0.001911, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.002134/0.002134, allocations: 164.8 kB / 24.27 MB, free: 156 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.539/1.539, allocations: 177 MB / 204.5 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.359/0.359, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.242e-05/3.43e-05, allocations: 7.797 kB / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.00341/0.003444, allocations: 1.661 MB / 378.9 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.004679, allocations: 0.537 MB / 379.4 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.597e-05/0.004745, allocations: 4 kB / 379.4 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.005092, allocations: 95.61 kB / 379.5 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.005421, allocations: 111.5 kB / 379.6 MB, free: 484 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.005709, allocations: 91.69 kB / 379.7 MB, free: 392 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.005908, allocations: 103.7 kB / 379.8 MB, free: 288 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.006029, allocations: 27.97 kB / 379.9 MB, free: 260 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.006134, allocations: 51.89 kB / 379.9 MB, free: 208 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.006255, allocations: 59.86 kB / 380 MB, free: 148 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.00628, allocations: 8 kB / 380 MB, free: 140 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.006388, allocations: 47.91 kB / 380 MB, free: 92 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.188e-05/0.00645, allocations: 27.86 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.19e-05/0.006502, allocations: 27.91 kB / 380.1 MB, free: 36 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.006761, allocations: 123.5 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.006767, allocations: 4 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.006768, allocations: 0 / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.006774, allocations: 0 / 380.2 MB, free: 15.91 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008009/0.007574, allocations: 467.4 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.007614, allocations: 12.03 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.309e-05/0.007677, allocations: 16.84 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.007917, allocations: 160.3 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.007931, allocations: 8.375 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.007954, allocations: 4.375 kB / 380.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.008126, allocations: 66.17 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.008144, allocations: 4.188 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.008155, allocations: 384 / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.00816, allocations: 384 / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.008274, allocations: 35.91 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005405/0.008815, allocations: 343.6 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.008976, allocations: 67.05 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/0.009037, allocations: 23.67 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.009075, allocations: 3.938 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.009114, allocations: 41.33 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 3.106e-06/0.009117, allocations: 3.984 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.001081/0.0102, allocations: 289.8 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.01025, allocations: 55.41 kB / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.01054, allocations: 262.7 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.01057, allocations: 29.7 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.01069, allocations: 162.8 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.183e-05/0.01076, allocations: 51.58 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-05/0.01083, allocations: 39.47 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003129/0.01115, allocations: 0.5155 MB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.798e-05/0.01123, allocations: 27.98 kB / 382.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.302e-05/0.01132, allocations: 38.98 kB / 382.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.01151, allocations: 87.66 kB / 383 MB, free: 12.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01151, allocations: 0 / 383 MB, free: 12.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002779/0.01179, allocations: 133.6 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.01181, allocations: 4 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.01181, allocations: 0 / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.01183, allocations: 4 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.01198, allocations: 27.92 kB / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.01199, allocations: 4 kB / 383.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.88e-05/0.01203, allocations: 4 kB / 383.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.01204, allocations: 11.98 kB / 383.2 MB, free: 12.75 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 (13): * Single equations (assignments): 13 * 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 0.0001456/0.01219, allocations: 164.5 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.01224, allocations: 19.91 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004309/0.01267, allocations: 158.1 kB / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.01268, allocations: 0 / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.01268, allocations: 0 / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.01269, allocations: 0 / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007629/0.01345, allocations: 492.8 kB / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01345, allocations: 0 / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.226e-05/0.01354, allocations: 23.98 kB / 384 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.01355, allocations: 4 kB / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.01356, allocations: 4 kB / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.01357, allocations: 3.938 kB / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.01357, allocations: 7.938 kB / 384 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003876/0.01396, allocations: 283.5 kB / 384.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.01398, allocations: 11.95 kB / 384.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.01401, allocations: 8.031 kB / 384.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.73e-05/0.01407, allocations: 3.984 kB / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.01413, allocations: 15.92 kB / 384.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.01414, allocations: 4 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001831/0.01433, allocations: 189.1 kB / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01433, allocations: 0 / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002746/0.0146, allocations: 35.88 kB / 384.6 MB, free: 11.27 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 (13): * Single equations (assignments): 13 * 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.003335/0.01794, allocations: 492.6 kB / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002977/0.01824, allocations: 99.14 kB / 385.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01824, allocations: 3.938 kB / 385.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.01836, allocations: 55.67 kB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.01872, allocations: 18.08 kB / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006755/0.0194, allocations: 304.6 kB / 385.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.01953, allocations: 105.1 kB / 385.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.728e-05/0.0196, allocations: 16.48 kB / 385.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.053e-05/0.01965, allocations: 20.48 kB / 385.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01965, allocations: 4 kB / 385.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of Templates: time 0.005439/0.02509, allocations: 1.542 MB / 387.2 MB, free: 8.754 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.942206786945462]