Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.0008829/0.0008829, allocations: 92.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001049/0.001049, allocations: 203.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.273/1.273, allocations: 227.7 MB / 246.8 MB, free: 9.586 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1805/0.1805, allocations: 46.2 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002216/0.0002216, allocations: 11.98 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08604/0.08628, allocations: 63.56 MB / 483.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.001545/0.08785, allocations: 1.318 MB / 484.5 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.08923, allocations: 1.113 MB / 485.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.572e-05/0.08928, allocations: 0 / 485.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.08946, allocations: 27.86 kB / 485.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.08967, allocations: 67.81 kB / 485.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.0899, allocations: 83.22 kB / 485.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000116/0.09002, allocations: 63.83 kB / 485.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.497e-05/0.09011, allocations: 8 kB / 485.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.017e-05/0.09015, allocations: 19.86 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.09029, allocations: 39.78 kB / 485.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.09031, allocations: 4 kB / 485.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.09046, allocations: 91.94 kB / 486 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.3e-05/0.0905, allocations: 7.984 kB / 486 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.669e-05/0.09055, allocations: 53.44 kB / 486.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.09075, allocations: 132 kB / 486.2 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.09076, allocations: 0 / 486.2 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.09076, allocations: 0 / 486.2 MB, free: 1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.555e-06/0.09077, allocations: 0 / 486.2 MB, free: 1 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.0003915/0.09117, allocations: 395.2 kB / 486.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.09121, allocations: 8.875 kB / 486.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.858e-05/0.09124, allocations: 34.75 kB / 486.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.09128, allocations: 12.84 kB / 486.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.09144, allocations: 192.2 kB / 486.8 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.09146, allocations: 8.312 kB / 486.8 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.09148, allocations: 4.375 kB / 486.8 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.09162, allocations: 71.33 kB / 486.9 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.09163, allocations: 0 / 486.9 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.09165, allocations: 4 kB / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.09166, allocations: 0 / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.05e-05/0.09175, allocations: 27.97 kB / 486.9 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.09205, allocations: 280.8 kB / 487.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.09223, allocations: 54.55 kB / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.829e-05/0.09229, allocations: 16.8 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.09231, allocations: 0 / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.09234, allocations: 30.56 kB / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.09235, allocations: 0 / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005173/0.09287, allocations: 165.4 kB / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.09292, allocations: 81.11 kB / 487.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.09305, allocations: 151.9 kB / 487.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.09308, allocations: 25.7 kB / 487.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/0.09313, allocations: 100.1 kB / 487.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.09315, allocations: 7.812 kB / 487.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.09318, allocations: 17.72 kB / 487.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.09327, allocations: 322.8 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.368e-05/0.09334, allocations: 19.98 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.093e-05/0.09343, allocations: 45.64 kB / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.09358, allocations: 52.83 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.09359, allocations: 0 / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001884/0.09379, allocations: 85.61 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.09381, allocations: 4 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.09382, allocations: 4 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.205e-06/0.09383, allocations: 0 / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.794e-05/0.0939, allocations: 15.98 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.09392, allocations: 3.938 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.332e-05/0.09398, allocations: 19.92 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.09399, allocations: 0 / 488.4 MB, free: 14.54 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 6.483e-05/0.09406, allocations: 113.8 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.0941, allocations: 7.906 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.09434, allocations: 102.2 kB / 488.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.09435, allocations: 0 / 488.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.09436, allocations: 4.062 kB / 488.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.09437, allocations: 3.938 kB / 488.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003921/0.09476, allocations: 362.5 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.09478, allocations: 4 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.763e-05/0.09484, allocations: 12 kB / 489 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.09485, allocations: 0 / 489 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.09487, allocations: 15.92 kB / 489 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.09487, allocations: 0 / 489 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.09488, allocations: 3.984 kB / 489 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.0951, allocations: 187.4 kB / 489.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.09515, allocations: 89 kB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.09517, allocations: 3.938 kB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.329e-05/0.09526, allocations: 11.98 kB / 489.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.09529, allocations: 4 kB / 489.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.0953, allocations: 3.938 kB / 489.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.337e-05/0.09539, allocations: 125.4 kB / 489.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.0954, allocations: 0 / 489.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.09568, allocations: 36 kB / 489.5 MB, free: 13.36 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.001336/0.09702, allocations: 1.094 MB / 490.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.09722, allocations: 59.84 kB / 490.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.09723, allocations: 3.938 kB / 490.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.952e-05/0.09731, allocations: 31.98 kB / 490.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.09761, allocations: 15.98 kB / 490.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.09901, allocations: 1.447 MB / 492.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.09922, allocations: 0.6887 MB / 492.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.285e-05/0.09929, allocations: 24.14 kB / 492.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.171e-05/0.09935, allocations: 31.36 kB / 492.9 MB, free: 10 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.09935, allocations: 0 / 492.9 MB, free: 10 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01269/0.112, allocations: 2.78 MB / 495.6 MB, free: 7.34 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.1122, allocations: 255 kB / 495.9 MB, free: 7.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/1.811, allocations: 0 / 495.9 MB, free: 7.07 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches