Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.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.001404/0.001404, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001544/0.001544, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.51/1.51, allocations: 230.5 MB / 257.4 MB, free: 7.816 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.2417/0.2417, allocations: 46.94 MB / 360.8 MB, free: 4.055 MB / 286.1 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00244/0.00244, allocations: 79.86 kB / 0.4967 GB, free: 7.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.332, allocations: 66.09 MB / 0.5612 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test35): time 0.00358/0.3356, allocations: 1.588 MB / 0.5627 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.3376, allocations: 1.224 MB / 0.5639 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.089e-05/0.3376, allocations: 4 kB / 0.5639 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.3378, allocations: 27.78 kB / 0.564 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.3381, allocations: 83.62 kB / 0.564 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.3384, allocations: 99.06 kB / 0.5641 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.3385, allocations: 63.84 kB / 0.5642 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.3387, allocations: 11.97 kB / 0.5642 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.242e-05/0.3387, allocations: 35.75 kB / 0.5642 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.3388, allocations: 27.84 kB / 0.5643 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.3389, allocations: 4 kB / 0.5643 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.339, allocations: 95.94 kB / 0.5644 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.047e-05/0.3391, allocations: 11.92 kB / 0.5644 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.3391, allocations: 23.86 kB / 0.5644 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.3394, allocations: 141.9 kB / 0.5645 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3394, allocations: 0 / 0.5645 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3394, allocations: 0 / 0.5645 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3394, allocations: 0 / 0.5645 GB, free: 0.5469 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004915/0.3399, allocations: 317.7 kB / 0.5648 GB, free: 208 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3399, allocations: 15.97 kB / 0.5649 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.3399, allocations: 8.875 kB / 0.5649 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.3401, allocations: 142.4 kB / 0.565 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.3401, allocations: 4.375 kB / 0.565 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.3402, allocations: 4.375 kB / 0.565 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.3404, allocations: 89.73 kB / 0.5651 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3404, allocations: 192 / 0.5651 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3404, allocations: 3.938 kB / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3404, allocations: 0 / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.044e-05/0.3405, allocations: 27.98 kB / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.3408, allocations: 220.5 kB / 0.5653 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.341, allocations: 42.66 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.3411, allocations: 20.78 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.3411, allocations: 0 / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.3411, allocations: 34.56 kB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3411, allocations: 0 / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005256/0.3416, allocations: 141.7 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.3417, allocations: 81.11 kB / 0.5656 GB, free: 15.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.3419, allocations: 147.7 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.3419, allocations: 25.7 kB / 0.5658 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.3419, allocations: 96.12 kB / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.342, allocations: 19.8 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.342, allocations: 17.72 kB / 0.5659 GB, free: 14.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002407/0.3422, allocations: 318.8 kB / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.111e-05/0.3423, allocations: 23.92 kB / 0.5663 GB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.808e-05/0.3424, allocations: 55.41 kB / 0.5663 GB, free: 14.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.3425, allocations: 56.8 kB / 0.5664 GB, free: 14.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3425, allocations: 0 / 0.5664 GB, free: 14.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001883/0.3427, allocations: 77.62 kB / 0.5664 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.3427, allocations: 4 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3428, allocations: 0 / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3428, allocations: 7.922 kB / 0.5665 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.873e-05/0.3428, allocations: 19.92 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3428, allocations: 0 / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.973e-05/0.3429, allocations: 15.92 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.3429, allocations: 3.984 kB / 0.5665 GB, free: 14.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 (5): * Single equations (assignments): 5 * 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.0001112/0.343, allocations: 117.8 kB / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.3431, allocations: 7.953 kB / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.3433, allocations: 90.06 kB / 0.5667 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3433, allocations: 320 / 0.5667 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3433, allocations: 0 / 0.5667 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3433, allocations: 0 / 0.5667 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.3438, allocations: 306 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3438, allocations: 0 / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.3438, allocations: 15.98 kB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3438, allocations: 0 / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3438, allocations: 0 / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3438, allocations: 0 / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3438, allocations: 0 / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.3441, allocations: 183.4 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.3441, allocations: 11.94 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.3441, allocations: 4 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/0.3442, allocations: 4 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.3442, allocations: 7.984 kB / 0.5672 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.3442, allocations: 0 / 0.5672 GB, free: 13.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.3443, allocations: 117.3 kB / 0.5673 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3443, allocations: 0 / 0.5673 GB, free: 13.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002968/0.3446, allocations: 39.81 kB / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001972/0.3466, allocations: 0.5154 MB / 0.5679 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.3468, allocations: 51.91 kB / 0.5679 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3468, allocations: 0 / 0.5679 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.149e-05/0.3469, allocations: 19.98 kB / 0.5679 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.3473, allocations: 19.36 kB / 0.5679 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005373/0.3479, allocations: 165.6 kB / 0.5681 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.348, allocations: 79.08 kB / 0.5682 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.992e-05/0.3481, allocations: 19.77 kB / 0.5682 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.3481, allocations: 19.42 kB / 0.5682 GB, free: 12.62 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3481, allocations: 0 / 0.5682 GB, free: 12.62 MB / 414.1 MB Notification: Performance of Templates: time 0.005421/0.3535, allocations: 1.822 MB / 0.57 GB, free: 10.81 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.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.197035051882267]