Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",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.001061/0.001061, 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.001087/0.001087, 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.438/1.438, allocations: 222.9 MB / 242.2 MB, free: 15.27 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.2454/0.2454, allocations: 44.17 MB / 336.6 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 60.31 kB / 408.5 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1066, allocations: 60.82 MB / 469.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003761/0.1105, allocations: 1.56 MB / 470.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.1123, allocations: 1.023 MB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.065e-05/0.1124, allocations: 0 / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.1127, allocations: 23.84 kB / 472 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003103/0.113, allocations: 47.72 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000507/0.1135, allocations: 114.4 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.1138, allocations: 51.91 kB / 472.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.1139, allocations: 15.94 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.937e-05/0.114, allocations: 19.92 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.1142, allocations: 31.84 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.1142, allocations: 4 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.1144, allocations: 51.97 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.147e-05/0.1145, allocations: 15.92 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.1146, allocations: 15.88 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.1148, allocations: 88.05 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.1148, allocations: 0 / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1148, allocations: 0 / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.1149, allocations: 0 / 472.4 MB, free: 11.23 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.0006966/0.1156, allocations: 387.2 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.1156, allocations: 8.031 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.1157, allocations: 30.75 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.1157, allocations: 8.844 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.116, allocations: 188.2 kB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.116, allocations: 4.375 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.116, allocations: 4.375 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.1162, allocations: 71.27 kB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1162, allocations: 7.938 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1162, allocations: 0 / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1163, allocations: 0 / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.373e-05/0.1163, allocations: 23.98 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.1168, allocations: 272.9 kB / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.117, allocations: 54.48 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.461e-05/0.1171, allocations: 16.86 kB / 473.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1171, allocations: 0 / 473.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.1171, allocations: 34.64 kB / 473.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.1171, allocations: 0 / 473.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005798/0.1177, allocations: 153.3 kB / 473.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.046e-05/0.1178, allocations: 77.11 kB / 473.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.1179, allocations: 137.1 kB / 473.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.118, allocations: 29.7 kB / 473.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.788e-05/0.1181, allocations: 96.05 kB / 474 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.1181, allocations: 15.81 kB / 474 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.1181, allocations: 17.72 kB / 474 MB, free: 9.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1183, allocations: 326.8 kB / 474.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.193e-05/0.1184, allocations: 19.98 kB / 474.4 MB, free: 9.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.344e-05/0.1185, allocations: 33.89 kB / 474.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.1186, allocations: 60.81 kB / 474.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1186, allocations: 3.938 kB / 474.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001989/0.1188, allocations: 85.55 kB / 474.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1189, allocations: 4 kB / 474.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1189, allocations: 0 / 474.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.1189, allocations: 4 kB / 474.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/0.119, allocations: 15.98 kB / 474.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.119, allocations: 0 / 474.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.83e-05/0.119, allocations: 7.984 kB / 474.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1191, allocations: 3.938 kB / 474.6 MB, free: 8.824 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 (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 0.0001121/0.1192, allocations: 117.8 kB / 474.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.1192, allocations: 7.906 kB / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.1195, allocations: 97.84 kB / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1195, allocations: 0 / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.1195, allocations: 3.984 kB / 474.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1195, allocations: 7.922 kB / 474.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004669/0.12, allocations: 354.5 kB / 475.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.12, allocations: 3.938 kB / 475.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.051e-05/0.12, allocations: 8 kB / 475.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1201, allocations: 0 / 475.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.1201, allocations: 4.188 kB / 475.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.1201, allocations: 11.92 kB / 475.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1201, allocations: 0 / 475.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.1203, allocations: 179.4 kB / 475.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.1204, allocations: 89 kB / 475.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.1204, allocations: 0 / 475.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.1205, allocations: 7.938 kB / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.1206, allocations: 7.984 kB / 475.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.1206, allocations: 0 / 475.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.605e-05/0.1207, allocations: 103.3 kB / 475.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.733e-06/0.1207, allocations: 0 / 475.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.1209, allocations: 23.94 kB / 475.6 MB, free: 7.711 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 (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.001592/0.1225, allocations: 1.056 MB / 476.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002394/0.1228, allocations: 55.89 kB / 476.7 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1228, allocations: 4 kB / 476.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.286e-05/0.1229, allocations: 23.98 kB / 476.7 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.1233, allocations: 25.3 kB / 476.7 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.1252, allocations: 1.393 MB / 478.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.1255, allocations: 0.6923 MB / 478.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.949e-05/0.1256, allocations: 20.05 kB / 478.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/0.1257, allocations: 27.42 kB / 478.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1257, allocations: 0 / 478.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/0.15, allocations: 2.682 MB / 481.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/7.764, allocations: 10.73 kB / 481.6 MB, free: 1.84 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches