Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.0013/0.0013, allocations: 86.56 kB / 20.68 MB, free: 1.035 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.001474/0.001474, allocations: 158.6 kB / 23.95 MB, free: 4.168 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.498/1.498, allocations: 177 MB / 204.1 MB, free: 9.18 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.2352/0.2352, allocations: 34.26 MB / 294.8 MB, free: 14.54 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.CombiTable1Ds.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.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 3.938 kB / 442.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.271e-05/3.516e-05, allocations: 2.281 kB / 442.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003541/0.003576, allocations: 1.642 MB / 444.3 MB, free: 3.629 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.004901, allocations: 0.5292 MB / 444.9 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.981e-05/0.005, allocations: 0 / 444.9 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003986/0.005399, allocations: 103.6 kB / 445 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004514/0.00585, allocations: 115.5 kB / 445.1 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/0.006281, allocations: 98.75 kB / 445.2 MB, free: 2.789 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000276/0.006557, allocations: 91.8 kB / 445.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.006694, allocations: 23.92 kB / 445.3 MB, free: 2.676 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.006828, allocations: 59.81 kB / 445.3 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.006999, allocations: 59.86 kB / 445.4 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.007024, allocations: 4 kB / 445.4 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.007187, allocations: 47.86 kB / 445.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.113e-05/0.007268, allocations: 31.91 kB / 445.5 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.233e-05/0.007321, allocations: 23.86 kB / 445.5 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.00762, allocations: 123.6 kB / 445.6 MB, free: 2.332 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.007624, allocations: 0 / 445.6 MB, free: 2.332 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.007625, allocations: 0 / 445.6 MB, free: 2.332 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.00763, allocations: 3.938 kB / 445.6 MB, free: 2.328 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007064/0.008336, allocations: 357.5 kB / 446 MB, free: 1.945 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.008388, allocations: 16.03 kB / 446 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.367e-05/0.008461, allocations: 12.84 kB / 446 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.008742, allocations: 157.5 kB / 446.2 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.008759, allocations: 4.375 kB / 446.2 MB, free: 1.734 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.656e-05/0.008796, allocations: 4.375 kB / 446.2 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.009058, allocations: 70.22 kB / 446.2 MB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.009078, allocations: 4.188 kB / 446.2 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.009092, allocations: 384 / 446.2 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.009097, allocations: 384 / 446.2 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.009246, allocations: 47.89 kB / 446.3 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.009797, allocations: 268.4 kB / 446.5 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.009966, allocations: 62.56 kB / 446.6 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.887e-05/0.01003, allocations: 24.84 kB / 446.6 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.365e-05/0.01008, allocations: 3.938 kB / 446.6 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.01012, allocations: 38.5 kB / 446.7 MB, free: 1.164 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.01012, allocations: 0 / 446.7 MB, free: 1.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001339/0.01146, allocations: 313.2 kB / 447 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.01152, allocations: 51.41 kB / 447 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.01182, allocations: 239.5 kB / 447.3 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.01185, allocations: 25.7 kB / 447.3 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.888e-05/0.01195, allocations: 108.1 kB / 447.4 MB, free: 408 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.853e-05/0.01201, allocations: 43.64 kB / 447.4 MB, free: 364 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.01207, allocations: 25.7 kB / 447.5 MB, free: 332 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2135/0.2256, allocations: 333.6 kB / 447.8 MB, free: 18.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.2258, allocations: 34.05 kB / 447.8 MB, free: 18.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.2259, allocations: 36.83 kB / 447.9 MB, free: 18.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.2261, allocations: 86.52 kB / 447.9 MB, free: 18.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2261, allocations: 1.156 kB / 447.9 MB, free: 18.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000318/0.2264, allocations: 141.9 kB / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.2265, allocations: 8.547 kB / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2265, allocations: 3.281 kB / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.2265, allocations: 1.125 kB / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.2266, allocations: 28.56 kB / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.2267, allocations: 8.703 kB / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.063e-05/0.2267, allocations: 4.984 kB / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.2267, allocations: 10.45 kB / 448.1 MB, free: 18.89 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.0001887/0.2269, allocations: 131.2 kB / 448.3 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/0.227, allocations: 13.77 kB / 448.3 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004661/0.2274, allocations: 173.2 kB / 448.5 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2274, allocations: 1.031 kB / 448.5 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.2275, allocations: 5.672 kB / 448.5 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2275, allocations: 0.75 kB / 448.5 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006094/0.2281, allocations: 408 kB / 448.9 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2281, allocations: 6.406 kB / 448.9 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.2282, allocations: 31.72 kB / 448.9 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2282, allocations: 1.859 kB / 448.9 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.2282, allocations: 2.953 kB / 448.9 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2282, allocations: 1.344 kB / 448.9 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2282, allocations: 0 / 448.9 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.2285, allocations: 237.8 kB / 449.1 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.2285, allocations: 17.86 kB / 449.2 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.2285, allocations: 3.125 kB / 449.2 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.663e-05/0.2286, allocations: 9.234 kB / 449.2 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.2287, allocations: 8.188 kB / 449.2 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.2287, allocations: 4.609 kB / 449.2 MB, free: 18.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.2288, allocations: 182.9 kB / 449.4 MB, free: 18.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2288, allocations: 3.938 kB / 449.4 MB, free: 18.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.2291, allocations: 26.41 kB / 449.4 MB, free: 18.19 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.001816/0.2309, allocations: 491.7 kB / 449.9 MB, free: 18.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.2312, allocations: 95.59 kB / 450 MB, free: 17.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2312, allocations: 1.281 kB / 450 MB, free: 17.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.2313, allocations: 48.67 kB / 450 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.2317, allocations: 29.45 kB / 450 MB, free: 17.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000602/0.2323, allocations: 310.1 kB / 450.3 MB, free: 17.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.2324, allocations: 109.1 kB / 450.5 MB, free: 17.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.97e-05/0.2325, allocations: 22.2 kB / 450.5 MB, free: 17.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.2325, allocations: 21.8 kB / 450.5 MB, free: 17.68 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2325, allocations: 0 / 450.5 MB, free: 17.68 MB / 366.1 MB Notification: Performance of Templates: time 0.005189/0.2377, allocations: 1.531 MB / 452 MB, free: 17.47 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.0793828666210175]