Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 222.9 MB / 242.3 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2071/0.2071, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 64.02 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1051, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002946/0.1081, allocations: 1.588 MB / 470.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.1094, allocations: 1.023 MB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.084e-05/0.1095, allocations: 7.938 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.1097, allocations: 19.84 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.1099, allocations: 43.78 kB / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.1102, allocations: 119.2 kB / 472.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.1103, allocations: 63.91 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1104, allocations: 16.17 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.761e-05/0.1105, allocations: 39.78 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.1106, allocations: 23.86 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1106, allocations: 12 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1108, allocations: 51.97 kB / 472.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.1108, allocations: 11.98 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.669e-05/0.1109, allocations: 31.8 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.1111, allocations: 99.98 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.1111, allocations: 0 / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1111, allocations: 3.938 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1111, allocations: 0 / 472.5 MB, free: 11.12 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004929/0.1116, allocations: 387.2 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1116, allocations: 12.03 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.769e-05/0.1117, allocations: 38.75 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.1117, allocations: 8.844 kB / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.1119, allocations: 192.2 kB / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.112, allocations: 4.375 kB / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.112, allocations: 12.12 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1122, allocations: 75.33 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1122, allocations: 0 / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.1122, allocations: 4 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.1122, allocations: 7.984 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.1123, allocations: 31.97 kB / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/0.1128, allocations: 308.7 kB / 473.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.1129, allocations: 54.55 kB / 473.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.785e-05/0.113, allocations: 28.97 kB / 473.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.113, allocations: 8 kB / 473.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.113, allocations: 30.56 kB / 473.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.435e-06/0.113, allocations: 96 / 473.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006438/0.1137, allocations: 189.2 kB / 473.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.1138, allocations: 88.98 kB / 473.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.1139, allocations: 141.8 kB / 474.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.1139, allocations: 25.7 kB / 474.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.114, allocations: 103.9 kB / 474.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.114, allocations: 27.69 kB / 474.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.1141, allocations: 21.72 kB / 474.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1142, allocations: 318.8 kB / 474.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.169e-05/0.1143, allocations: 23.98 kB / 474.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.925e-05/0.1144, allocations: 50.06 kB / 474.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.1145, allocations: 72.81 kB / 474.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1145, allocations: 0 / 474.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002226/0.1148, allocations: 113.5 kB / 474.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1148, allocations: 4 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1148, allocations: 32 / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1148, allocations: 4 kB / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.1149, allocations: 19.98 kB / 474.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1149, allocations: 3.938 kB / 474.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.115, allocations: 4 kB / 474.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.115, allocations: 4 kB / 474.9 MB, free: 8.5 MB / 350.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 9.052e-05/0.1151, allocations: 125.8 kB / 475 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.1151, allocations: 3.906 kB / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.1154, allocations: 138.2 kB / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1154, allocations: 0 / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.1154, allocations: 3.938 kB / 475.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1154, allocations: 0 / 475.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004691/0.1159, allocations: 398.4 kB / 475.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1159, allocations: 0 / 475.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.987e-05/0.116, allocations: 31.86 kB / 475.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.116, allocations: 0 / 475.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.116, allocations: 0 / 475.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.116, allocations: 0 / 475.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.116, allocations: 0 / 475.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.1163, allocations: 199.4 kB / 475.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.1164, allocations: 88.95 kB / 475.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.1164, allocations: 8 kB / 475.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.1165, allocations: 7.984 kB / 475.8 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.1165, allocations: 7.938 kB / 475.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.1165, allocations: 3.984 kB / 475.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.407e-05/0.1166, allocations: 111.3 kB / 476 MB, free: 7.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1166, allocations: 3.938 kB / 476 MB, free: 7.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.1169, allocations: 24 kB / 476 MB, free: 7.262 MB / 350.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 (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.001426/0.1183, allocations: 1.077 MB / 477.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.1186, allocations: 87.88 kB / 477.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1186, allocations: 0 / 477.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.552e-05/0.1187, allocations: 39.97 kB / 477.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.119, allocations: 15.98 kB / 477.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.1206, allocations: 1.495 MB / 478.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.1209, allocations: 0.7002 MB / 479.4 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.623e-05/0.1209, allocations: 21.11 kB / 479.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.121, allocations: 31.36 kB / 479.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.121, allocations: 0 / 479.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.146, allocations: 2.898 MB / 482.4 MB, free: 1.012 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.502/7.648, allocations: 11.86 kB / 482.4 MB, free: 1 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches