Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.001735/0.001735, allocations: 89.14 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002232/0.002232, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 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.52/1.52, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 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.2192/0.2192, allocations: 34.26 MB / 294.8 MB, free: 14.51 MB / 286.1 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.CombiTable1Dv.Test6,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.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,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.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 442.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.699e-05, allocations: 6.219 kB / 442.7 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003075/0.003102, allocations: 1.646 MB / 444.3 MB, free: 3.598 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.004249, allocations: 0.5409 MB / 444.9 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.873e-05/0.004318, allocations: 0 / 444.9 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.004613, allocations: 95.67 kB / 445 MB, free: 2.961 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.004967, allocations: 119.4 kB / 445.1 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004261/0.005394, allocations: 111.7 kB / 445.2 MB, free: 2.734 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.0056, allocations: 111.7 kB / 445.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.005709, allocations: 19.98 kB / 445.3 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.005817, allocations: 55.88 kB / 445.4 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.005938, allocations: 59.86 kB / 445.4 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.00596, allocations: 4 kB / 445.4 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.006068, allocations: 47.91 kB / 445.5 MB, free: 2.441 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.006125, allocations: 35.8 kB / 445.5 MB, free: 2.406 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.507e-05/0.00617, allocations: 19.92 kB / 445.5 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.006419, allocations: 131.5 kB / 445.7 MB, free: 2.258 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.006422, allocations: 0 / 445.7 MB, free: 2.258 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.006422, allocations: 0 / 445.7 MB, free: 2.258 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.006432, allocations: 4 kB / 445.7 MB, free: 2.254 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005331/0.006965, allocations: 365.4 kB / 446 MB, free: 1.863 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.006999, allocations: 12.03 kB / 446 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.007043, allocations: 12.84 kB / 446.1 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.007264, allocations: 161.5 kB / 446.2 MB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.007273, allocations: 4.375 kB / 446.2 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.007304, allocations: 8.375 kB / 446.2 MB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.007489, allocations: 74.11 kB / 446.3 MB, free: 1.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.007505, allocations: 4.188 kB / 446.3 MB, free: 1.566 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.007517, allocations: 4.359 kB / 446.3 MB, free: 1.562 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.007521, allocations: 384 / 446.3 MB, free: 1.562 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.007652, allocations: 47.91 kB / 446.4 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.008121, allocations: 280.3 kB / 446.6 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.008271, allocations: 66.55 kB / 446.7 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.291e-05/0.008344, allocations: 28.78 kB / 446.7 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.008369, allocations: 4 kB / 446.7 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.008398, allocations: 38.5 kB / 446.8 MB, free: 1.055 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.008399, allocations: 0 / 446.8 MB, free: 1.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001184/0.009583, allocations: 333.2 kB / 447.1 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.009624, allocations: 51.41 kB / 447.1 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.009895, allocations: 235.6 kB / 447.4 MB, free: 424 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.009918, allocations: 25.7 kB / 447.4 MB, free: 392 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/0.009998, allocations: 120.1 kB / 447.5 MB, free: 268 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.666e-05/0.01005, allocations: 43.64 kB / 447.6 MB, free: 224 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.964e-05/0.01012, allocations: 33.7 kB / 447.6 MB, free: 184 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.228/0.2382, allocations: 325.8 kB / 447.9 MB, free: 18.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.2384, allocations: 40.66 kB / 447.9 MB, free: 18.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.2386, allocations: 53.38 kB / 448 MB, free: 18.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/0.239, allocations: 109.1 kB / 448.1 MB, free: 18.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.239, allocations: 0 / 448.1 MB, free: 18.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005083/0.2395, allocations: 150.5 kB / 448.2 MB, free: 18.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.2395, allocations: 5.75 kB / 448.3 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.2395, allocations: 1.25 kB / 448.3 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.2396, allocations: 0 / 448.3 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.2398, allocations: 29.16 kB / 448.3 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.2398, allocations: 7.656 kB / 448.3 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.2399, allocations: 9.531 kB / 448.3 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.2399, allocations: 7.531 kB / 448.3 MB, free: 18.87 MB / 366.1 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.0001536/0.24, allocations: 138.9 kB / 448.4 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-05/0.2401, allocations: 17.25 kB / 448.5 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006567/0.2408, allocations: 188.8 kB / 448.6 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.2408, allocations: 2.281 kB / 448.6 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.2408, allocations: 4.688 kB / 448.7 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.2408, allocations: 1.766 kB / 448.7 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.2418, allocations: 432.5 kB / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.2418, allocations: 2.531 kB / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.242, allocations: 29.59 kB / 449.1 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.242, allocations: 0 / 449.1 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.242, allocations: 7.516 kB / 449.1 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.242, allocations: 1.562 kB / 449.1 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.242, allocations: 4.641 kB / 449.1 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005485/0.2426, allocations: 245.9 kB / 449.4 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.2426, allocations: 26.33 kB / 449.4 MB, free: 18.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.2426, allocations: 1.25 kB / 449.4 MB, free: 18.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.2428, allocations: 5.641 kB / 449.4 MB, free: 18.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.609e-05/0.2429, allocations: 12.52 kB / 449.4 MB, free: 18.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.2429, allocations: 4.25 kB / 449.4 MB, free: 18.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002255/0.2431, allocations: 184.1 kB / 449.6 MB, free: 18.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2431, allocations: 1.062 kB / 449.6 MB, free: 18.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005081/0.2436, allocations: 30.06 kB / 449.6 MB, free: 18.14 MB / 366.1 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.002884/0.2465, allocations: 488.1 kB / 450.1 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004829/0.247, allocations: 109.3 kB / 450.2 MB, free: 17.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.247, allocations: 0 / 450.2 MB, free: 17.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.2472, allocations: 61.59 kB / 450.3 MB, free: 17.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000617/0.2478, allocations: 23.56 kB / 450.3 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009644/0.2488, allocations: 328.6 kB / 450.6 MB, free: 17.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.249, allocations: 113.2 kB / 450.7 MB, free: 17.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001348/0.2491, allocations: 26.81 kB / 450.7 MB, free: 17.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.2492, allocations: 22.52 kB / 450.8 MB, free: 17.6 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2492, allocations: 0 / 450.8 MB, free: 17.6 MB / 366.1 MB Notification: Performance of Templates: time 0.008644/0.2578, allocations: 1.596 MB / 452.4 MB, free: 17.41 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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: 5.138597868382931]