Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001553/0.001554, allocations: 108.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001793/0.001792, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.4 MB, free: 9.059 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1795/0.1795, allocations: 46.11 MB / 343.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 76.06 kB / 417.2 MB, free: 19.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08762/0.08918, allocations: 62.44 MB / 479.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.00237/0.09157, allocations: 1.653 MB / 481.3 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.09289, allocations: 1.136 MB / 482.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.262e-05/0.09294, allocations: 0 / 482.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.09313, allocations: 23.86 kB / 482.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.09335, allocations: 67.83 kB / 482.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.0936, allocations: 103.8 kB / 482.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.09372, allocations: 63.84 kB / 482.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.525e-05/0.0938, allocations: 19.98 kB / 482.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.999e-05/0.09384, allocations: 23.86 kB / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.09397, allocations: 35.84 kB / 482.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.09399, allocations: 4 kB / 482.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.09413, allocations: 99.88 kB / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.09417, allocations: 15.92 kB / 482.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.09421, allocations: 27.86 kB / 482.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.0944, allocations: 135.9 kB / 483 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.09441, allocations: 0 / 483 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.09442, allocations: 0 / 483 MB, free: 2.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.09443, allocations: 0 / 483 MB, free: 2.059 MB / 350.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.000408/0.09484, allocations: 399.1 kB / 483.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.09488, allocations: 19.95 kB / 483.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.7e-05/0.09491, allocations: 34.75 kB / 483.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.09494, allocations: 8.844 kB / 483.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.09512, allocations: 199.1 kB / 483.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-06/0.09513, allocations: 384 / 483.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.09515, allocations: 4.375 kB / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.09528, allocations: 71.28 kB / 483.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.0953, allocations: 0 / 483.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.09531, allocations: 3.984 kB / 483.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.09532, allocations: 4 kB / 483.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.963e-05/0.09541, allocations: 19.98 kB / 483.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003185/0.09573, allocations: 288.9 kB / 484 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.0959, allocations: 42.5 kB / 484.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.672e-05/0.09596, allocations: 20.94 kB / 484.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.09598, allocations: 0 / 484.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.09601, allocations: 42.55 kB / 484.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.09601, allocations: 0 / 484.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000484/0.0965, allocations: 153.2 kB / 484.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.09654, allocations: 81.05 kB / 484.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.09667, allocations: 145.8 kB / 484.5 MB, free: 352 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.09669, allocations: 29.7 kB / 484.5 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.492e-05/0.09674, allocations: 92.14 kB / 484.6 MB, free: 220 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.09677, allocations: 15.72 kB / 484.6 MB, free: 204 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.0968, allocations: 21.7 kB / 484.7 MB, free: 176 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.09691, allocations: 322.8 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.518e-05/0.09698, allocations: 19.97 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.63e-05/0.09705, allocations: 33.7 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.09719, allocations: 60.8 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.09719, allocations: 0 / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001813/0.09738, allocations: 81.66 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.0974, allocations: 8 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.09741, allocations: 0 / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.09742, allocations: 0 / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.661e-05/0.09748, allocations: 11.98 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.09749, allocations: 7.984 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.733e-05/0.09754, allocations: 11.84 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.09756, allocations: 4 kB / 485.2 MB, free: 15.6 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 (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 7.168e-05/0.09763, allocations: 121.8 kB / 485.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.09767, allocations: 4 kB / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.09789, allocations: 102.1 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.0979, allocations: 4 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.09791, allocations: 4 kB / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.09792, allocations: 11.86 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003758/0.0983, allocations: 358.5 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.09831, allocations: 0 / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.062e-05/0.09837, allocations: 11.98 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.09838, allocations: 4 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.09839, allocations: 3.938 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.09839, allocations: 4 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.0984, allocations: 0 / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.09861, allocations: 183.4 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.09865, allocations: 81.09 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.09867, allocations: 11.88 kB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.824e-05/0.09875, allocations: 3.938 kB / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.09878, allocations: 11.98 kB / 486.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.09879, allocations: 0 / 486.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.864e-05/0.09888, allocations: 113.3 kB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09888, allocations: 0 / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.09913, allocations: 35.98 kB / 486.3 MB, free: 14.45 MB / 366.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.001261/0.1004, allocations: 1.103 MB / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000176/0.1006, allocations: 59.84 kB / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1006, allocations: 0 / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.815e-05/0.1007, allocations: 31.97 kB / 487.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.1009, allocations: 14.94 kB / 487.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.1023, allocations: 1.464 MB / 488.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.1025, allocations: 0.6885 MB / 489.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.148e-05/0.1026, allocations: 19.98 kB / 489.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/0.1027, allocations: 23.42 kB / 489.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1027, allocations: 0 / 489.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.779/1.881, allocations: 3.081 MB / 492.7 MB, free: 8.094 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/1.882, allocations: 244.4 kB / 493 MB, free: 7.832 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.416/5.298, allocations: 0 / 493 MB, free: 7.832 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches