Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.001323/0.001323, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001433/0.001433, allocations: 209.4 kB / 24.51 MB, free: 3.941 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.385/1.385, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.2167/0.2167, allocations: 46.95 MB / 361.6 MB, free: 3.918 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.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 79.86 kB / 0.4969 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3082, allocations: 66.09 MB / 0.5615 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002924/0.3111, allocations: 1.601 MB / 0.563 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009786/0.3121, allocations: 0.5266 MB / 0.5635 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.264e-05/0.3122, allocations: 4 kB / 0.5635 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.3124, allocations: 71.77 kB / 0.5636 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.3127, allocations: 103.6 kB / 0.5637 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.313, allocations: 119 kB / 0.5638 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.3132, allocations: 87.75 kB / 0.5639 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.917e-05/0.3133, allocations: 21.75 kB / 0.5639 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.929e-05/0.3133, allocations: 27.92 kB / 0.564 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.3134, allocations: 51.81 kB / 0.564 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.3135, allocations: 4 kB / 0.564 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-05/0.3135, allocations: 43.98 kB / 0.5641 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.723e-05/0.3136, allocations: 23.91 kB / 0.5641 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.3137, allocations: 23.81 kB / 0.5641 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.3139, allocations: 115.4 kB / 0.5642 GB, free: 1.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3139, allocations: 0 / 0.5642 GB, free: 1.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3139, allocations: 0 / 0.5642 GB, free: 1.203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.3139, allocations: 4 kB / 0.5642 GB, free: 1.199 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.0005439/0.3145, allocations: 333.7 kB / 0.5645 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3145, allocations: 8.031 kB / 0.5645 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.141e-05/0.3145, allocations: 192 / 0.5645 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.15e-05/0.3145, allocations: 34.75 kB / 0.5646 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.3146, allocations: 16.83 kB / 0.5646 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.3148, allocations: 139.7 kB / 0.5647 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-06/0.3148, allocations: 8.312 kB / 0.5647 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.3148, allocations: 4.375 kB / 0.5647 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.3149, allocations: 61.97 kB / 0.5648 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3149, allocations: 0 / 0.5648 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3149, allocations: 8 kB / 0.5648 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.315, allocations: 0 / 0.5648 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.328e-05/0.315, allocations: 27.97 kB / 0.5648 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.3154, allocations: 263.8 kB / 0.5651 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.3155, allocations: 50.56 kB / 0.5651 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.806e-05/0.3156, allocations: 16.94 kB / 0.5651 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.3156, allocations: 0 / 0.5651 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.3156, allocations: 42.5 kB / 0.5652 GB, free: 72 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.3156, allocations: 4 kB / 0.5652 GB, free: 68 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008488/0.3165, allocations: 233.3 kB / 0.5654 GB, free: 15.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.3165, allocations: 59.41 kB / 0.5655 GB, free: 15.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.3167, allocations: 203.2 kB / 0.5657 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.3167, allocations: 25.7 kB / 0.5657 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.159e-05/0.3168, allocations: 108.1 kB / 0.5658 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.3168, allocations: 31.73 kB / 0.5658 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.3169, allocations: 21.72 kB / 0.5658 GB, free: 15.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.317, allocations: 326.8 kB / 0.5662 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.571e-05/0.3171, allocations: 31.97 kB / 0.5662 GB, free: 14.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.3172, allocations: 23.98 kB / 0.5662 GB, free: 14.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.3174, allocations: 72.81 kB / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3174, allocations: 4 kB / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002198/0.3176, allocations: 117.5 kB / 0.5664 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3176, allocations: 8 kB / 0.5664 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.3176, allocations: 0 / 0.5664 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.3177, allocations: 3.938 kB / 0.5664 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.719e-05/0.3177, allocations: 16.41 kB / 0.5664 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3178, allocations: 4 kB / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.411e-05/0.3178, allocations: 7.922 kB / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.3178, allocations: 4 kB / 0.5664 GB, free: 14.72 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.0001003/0.3179, allocations: 125.8 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.3179, allocations: 19.89 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003175/0.3183, allocations: 131.3 kB / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3183, allocations: 3.984 kB / 0.5667 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3183, allocations: 0 / 0.5667 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3183, allocations: 3.938 kB / 0.5667 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005201/0.3188, allocations: 378.4 kB / 0.5671 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3188, allocations: 8.016 kB / 0.5671 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-05/0.3189, allocations: 12 kB / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3189, allocations: 11.88 kB / 0.5671 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.3189, allocations: 3.984 kB / 0.5671 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3189, allocations: 0 / 0.5671 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3189, allocations: 4 kB / 0.5671 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.3191, allocations: 212.2 kB / 0.5673 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.3192, allocations: 11.95 kB / 0.5673 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.3192, allocations: 7.938 kB / 0.5673 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.3193, allocations: 11.98 kB / 0.5673 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.3193, allocations: 7.984 kB / 0.5673 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.3193, allocations: 0 / 0.5673 GB, free: 13.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001337/0.3194, allocations: 156.9 kB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3194, allocations: 0 / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.3197, allocations: 23.94 kB / 0.5675 GB, free: 13.52 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.002219/0.3219, allocations: 1.126 MB / 0.5686 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.3221, allocations: 71.94 kB / 0.5687 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.3221, allocations: 3.938 kB / 0.5687 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.229e-05/0.3222, allocations: 35.98 kB / 0.5687 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.3225, allocations: 19.98 kB / 0.5687 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.3245, allocations: 1.679 MB / 0.5704 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.264e-05/0.3246, allocations: 92.28 kB / 0.5705 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.274e-05/0.3247, allocations: 28.58 kB / 0.5705 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.503e-05/0.3247, allocations: 31.42 kB / 0.5705 GB, free: 10.48 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3247, allocations: 0 / 0.5705 GB, free: 10.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.347, allocations: 3.355 MB / 0.5738 GB, free: 7.152 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.11, allocations: 10 kB / 0.5738 GB, free: 7.148 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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: 14.024187557050027]