Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001239/0.001239, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001309/0.001309, allocations: 212.6 kB / 24.54 MB, free: 4.02 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.364/1.364, allocations: 230.3 MB / 258 MB, free: 8.203 MB / 206.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.2045/0.2045, allocations: 46.89 MB / 361.3 MB, free: 4.41 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 75.88 kB / 0.4971 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2705, allocations: 66.03 MB / 0.5615 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003053/0.2735, allocations: 1.644 MB / 0.5632 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009955/0.2745, allocations: 0.5538 MB / 0.5637 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/0.2746, allocations: 0 / 0.5637 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.2748, allocations: 75.72 kB / 0.5638 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002723/0.2751, allocations: 99.64 kB / 0.5639 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.2753, allocations: 98.81 kB / 0.564 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.2755, allocations: 83.77 kB / 0.564 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2756, allocations: 19.62 kB / 0.5641 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.943e-05/0.2756, allocations: 31.91 kB / 0.5641 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.991e-05/0.2757, allocations: 55.77 kB / 0.5641 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.2758, allocations: 3.938 kB / 0.5641 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.244e-05/0.2759, allocations: 51.92 kB / 0.5642 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.158e-05/0.2759, allocations: 19.92 kB / 0.5642 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.355e-05/0.276, allocations: 35.78 kB / 0.5642 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.2761, allocations: 98.41 kB / 0.5643 GB, free: 1.727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2761, allocations: 0 / 0.5643 GB, free: 1.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.051e-06/0.2761, allocations: 0 / 0.5643 GB, free: 1.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.2761, allocations: 0 / 0.5643 GB, free: 1.727 MB / 398.1 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.0004565/0.2766, allocations: 337.6 kB / 0.5647 GB, free: 1.363 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.2766, allocations: 15.97 kB / 0.5647 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.2767, allocations: 16.83 kB / 0.5647 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.2769, allocations: 135.5 kB / 0.5648 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.2769, allocations: 4.375 kB / 0.5648 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.2769, allocations: 8.375 kB / 0.5648 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.277, allocations: 50.23 kB / 0.5649 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.277, allocations: 192 / 0.5649 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.2771, allocations: 7.938 kB / 0.5649 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2771, allocations: 0 / 0.5649 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.2772, allocations: 27.97 kB / 0.5649 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.2776, allocations: 271.8 kB / 0.5652 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.2777, allocations: 34.56 kB / 0.5652 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.285e-05/0.2777, allocations: 20.94 kB / 0.5652 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.2777, allocations: 0 / 0.5652 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.2778, allocations: 38.5 kB / 0.5653 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.2778, allocations: 3.938 kB / 0.5653 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008575/0.2786, allocations: 221.7 kB / 0.5655 GB, free: 436 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.2787, allocations: 55.39 kB / 0.5655 GB, free: 368 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.2789, allocations: 199.3 kB / 0.5657 GB, free: 152 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.2789, allocations: 25.7 kB / 0.5657 GB, free: 120 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.607e-05/0.279, allocations: 108.1 kB / 0.5658 GB, free: 8 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/0.279, allocations: 35.8 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.2791, allocations: 17.72 kB / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.2792, allocations: 334.8 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.914e-05/0.2793, allocations: 23.97 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.026e-05/0.2794, allocations: 23.98 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.2795, allocations: 65.06 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.2795, allocations: 0 / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002246/0.2797, allocations: 105.5 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2797, allocations: 8 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2798, allocations: 0 / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.2798, allocations: 4 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.2799, allocations: 19.92 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.2799, allocations: 4 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.2799, allocations: 7.984 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.2799, allocations: 8 kB / 0.5665 GB, free: 15.34 MB / 414.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 (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 0.0001014/0.28, allocations: 121.8 kB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.2801, allocations: 15.91 kB / 0.5666 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002792/0.2803, allocations: 123 kB / 0.5667 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2804, allocations: 0 / 0.5667 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2804, allocations: 0 / 0.5667 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.2804, allocations: 3.984 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005343/0.2809, allocations: 374.3 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2809, allocations: 0 / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.218e-05/0.281, allocations: 19.98 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.281, allocations: 0 / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.281, allocations: 7.875 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.281, allocations: 0 / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/0.281, allocations: 11.92 kB / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.2813, allocations: 200.3 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.701e-05/0.2813, allocations: 11.94 kB / 0.5673 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.2813, allocations: 7.938 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.2814, allocations: 4 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.2814, allocations: 3.984 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.2814, allocations: 12 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001488/0.2816, allocations: 148.9 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2816, allocations: 0 / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.2818, allocations: 23.94 kB / 0.5675 GB, free: 14.18 MB / 414.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 (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.001608/0.2834, allocations: 456 kB / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002418/0.2837, allocations: 67.94 kB / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2837, allocations: 0 / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-05/0.2837, allocations: 35.86 kB / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.2841, allocations: 23.92 kB / 0.5681 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.2846, allocations: 251.3 kB / 0.5683 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.285, allocations: 0.708 MB / 0.569 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.721e-05/0.285, allocations: 8.672 kB / 0.569 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.285, allocations: 19.44 kB / 0.569 GB, free: 12.72 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.285, allocations: 0 / 0.569 GB, free: 12.72 MB / 414.1 MB Notification: Performance of Templates: time 0.004216/0.2892, allocations: 1.392 MB / 0.5704 GB, free: 11.34 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.502223428338766]