Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001466/0.001466, allocations: 114 kB / 20.44 MB, free: 1.469 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.001462/0.001462, allocations: 213.4 kB / 23.74 MB, free: 4.695 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.55/1.55, allocations: 230.5 MB / 257.4 MB, free: 8.023 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.2274/0.2274, allocations: 46.94 MB / 360.8 MB, free: 4.18 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 83.86 kB / 0.4962 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3363, allocations: 66.08 MB / 0.5607 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.00327/0.3395, allocations: 1.622 MB / 0.5623 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3406, allocations: 0.58 MB / 0.5629 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.465e-05/0.3406, allocations: 4 kB / 0.5629 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006014/0.3413, allocations: 447.1 kB / 0.5633 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005168/0.3418, allocations: 295.3 kB / 0.5636 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004296/0.3422, allocations: 174.9 kB / 0.5638 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.3424, allocations: 171.6 kB / 0.5639 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.309e-05/0.3425, allocations: 12 kB / 0.5639 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.3427, allocations: 111.8 kB / 0.5641 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.343, allocations: 239.5 kB / 0.5643 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.343, allocations: 4 kB / 0.5643 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-05/0.3431, allocations: 27.94 kB / 0.5643 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.3432, allocations: 88.61 kB / 0.5644 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.3433, allocations: 111 kB / 0.5645 GB, free: 456 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.3436, allocations: 248.5 kB / 0.5647 GB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3436, allocations: 4 kB / 0.5647 GB, free: 204 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3436, allocations: 0 / 0.5647 GB, free: 204 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3436, allocations: 0 / 0.5647 GB, free: 204 kB / 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.0007675/0.3444, allocations: 0.5817 MB / 0.5653 GB, free: 15.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3444, allocations: 8.031 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.092e-05/0.3445, allocations: 34.75 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.988e-05/0.3445, allocations: 44.66 kB / 0.5654 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.3448, allocations: 250.7 kB / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.3448, allocations: 384 / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.3449, allocations: 12.31 kB / 0.5656 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.345, allocations: 54.23 kB / 0.5657 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.345, allocations: 3.938 kB / 0.5657 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.345, allocations: 0 / 0.5657 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.345, allocations: 3.984 kB / 0.5657 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.615e-05/0.3451, allocations: 23.98 kB / 0.5657 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005541/0.3457, allocations: 359.8 kB / 0.5661 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.585e-05/0.3458, allocations: 30.58 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.913e-05/0.3458, allocations: 24.84 kB / 0.5661 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.3458, allocations: 0 / 0.5661 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.3459, allocations: 30.56 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.3459, allocations: 0 / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002722/0.3461, allocations: 113.3 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.3462, allocations: 55.41 kB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009581/0.3471, allocations: 0.8777 MB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.3472, allocations: 25.7 kB / 0.5672 GB, free: 13.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.3474, allocations: 220.1 kB / 0.5674 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.3474, allocations: 15.88 kB / 0.5674 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.3474, allocations: 13.72 kB / 0.5674 GB, free: 13.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.3476, allocations: 366.8 kB / 0.5678 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-05/0.3477, allocations: 15.98 kB / 0.5678 GB, free: 12.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.542e-05/0.3477, allocations: 8 kB / 0.5678 GB, free: 12.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.955e-05/0.3478, allocations: 28.84 kB / 0.5678 GB, free: 12.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3478, allocations: 0 / 0.5678 GB, free: 12.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001725/0.348, allocations: 101.3 kB / 0.5679 GB, free: 12.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.348, allocations: 4 kB / 0.5679 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.348, allocations: 4.094 kB / 0.5679 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.348, allocations: 0 / 0.5679 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.188e-05/0.3481, allocations: 8 kB / 0.5679 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.3481, allocations: 0 / 0.5679 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.112e-05/0.3481, allocations: 7.984 kB / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.3481, allocations: 0 / 0.568 GB, free: 12.7 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 (2): * Single equations (assignments): 2 * 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.0002172/0.3483, allocations: 213.7 kB / 0.5682 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.32e-05/0.3484, allocations: 47.67 kB / 0.5682 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.3486, allocations: 112.8 kB / 0.5683 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3486, allocations: 0 / 0.5683 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3486, allocations: 3.938 kB / 0.5683 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3486, allocations: 0 / 0.5683 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.349, allocations: 260.6 kB / 0.5686 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.349, allocations: 3.984 kB / 0.5686 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/0.349, allocations: 8 kB / 0.5686 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.349, allocations: 0 / 0.5686 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.349, allocations: 0 / 0.5686 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.349, allocations: 0 / 0.5686 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.349, allocations: 4.031 kB / 0.5686 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.3493, allocations: 195.2 kB / 0.5688 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-05/0.3493, allocations: 31.72 kB / 0.5688 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.3493, allocations: 4 kB / 0.5688 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.978e-05/0.3494, allocations: 3.984 kB / 0.5688 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.3494, allocations: 3.938 kB / 0.5688 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.3495, allocations: 15.97 kB / 0.5688 GB, free: 11.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007189/0.3502, allocations: 0.6589 MB / 0.5695 GB, free: 11.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3502, allocations: 0 / 0.5695 GB, free: 11.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.3504, allocations: 16 kB / 0.5695 GB, free: 11.06 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 (2): * Single equations (assignments): 2 * 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.001798/0.3522, allocations: 0.968 MB / 0.5704 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.3524, allocations: 27.92 kB / 0.5705 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3524, allocations: 0 / 0.5705 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.529e-05/0.3524, allocations: 19.98 kB / 0.5705 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.3528, allocations: 22.31 kB / 0.5705 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00375/0.3566, allocations: 3.183 MB / 0.5736 GB, free: 6.844 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005263/0.3571, allocations: 0.826 MB / 0.5744 GB, free: 5.988 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.076e-05/0.3572, allocations: 15.81 kB / 0.5744 GB, free: 5.973 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.3573, allocations: 115.4 kB / 0.5745 GB, free: 5.859 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3573, allocations: 4 kB / 0.5745 GB, free: 5.855 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03187/0.3892, allocations: 5.947 MB / 0.5803 GB, free: 15.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.96, allocations: 7.125 kB / 0.5804 GB, free: 15.93 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.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: 15.022509155096486]