Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0007867/0.0007868, allocations: 172.8 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007766/0.0007765, allocations: 92.95 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2903/0.2903, allocations: 43.57 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003596, allocations: 12 kB / 432.1 MB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1009, allocations: 58.85 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.001823/0.1028, allocations: 1.402 MB / 492.3 MB, free: 9.367 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1039, allocations: 0.7344 MB / 493.1 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.021e-05/0.104, allocations: 0 / 493.1 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.1043, allocations: 75.83 kB / 493.1 MB, free: 8.551 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.1045, allocations: 67.78 kB / 493.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.1048, allocations: 79.86 kB / 493.3 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.1049, allocations: 95.67 kB / 493.4 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.369e-05/0.105, allocations: 12.2 kB / 493.4 MB, free: 8.301 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.1051, allocations: 47.77 kB / 493.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.1052, allocations: 47.83 kB / 493.5 MB, free: 8.207 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.1053, allocations: 3.938 kB / 493.5 MB, free: 8.203 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.139e-05/0.1054, allocations: 35.97 kB / 493.5 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.386e-05/0.1054, allocations: 23.92 kB / 493.5 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.609e-05/0.1055, allocations: 61.44 kB / 493.6 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.1056, allocations: 88.09 kB / 493.7 MB, free: 7.992 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1056, allocations: 0 / 493.7 MB, free: 7.992 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1057, allocations: 0 / 493.7 MB, free: 7.992 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1057, allocations: 0 / 493.7 MB, free: 7.992 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004489/0.1061, allocations: 406.7 kB / 494.1 MB, free: 7.551 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1062, allocations: 12.03 kB / 494.1 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.997e-05/0.1062, allocations: 30.75 kB / 494.1 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.1062, allocations: 16.75 kB / 494.1 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.1065, allocations: 220 kB / 494.4 MB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1065, allocations: 384 / 494.4 MB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.1065, allocations: 7.938 kB / 494.4 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.1066, allocations: 53.67 kB / 494.4 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.1067, allocations: 0 / 494.4 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.1067, allocations: 0 / 494.4 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1067, allocations: 4 kB / 494.4 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.534e-05/0.1068, allocations: 15.98 kB / 494.4 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.1071, allocations: 296.8 kB / 494.7 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.1073, allocations: 54.67 kB / 494.8 MB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.89e-05/0.1073, allocations: 24.78 kB / 494.8 MB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.1073, allocations: 4 kB / 494.8 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.1075, allocations: 71.23 kB / 494.9 MB, free: 6.629 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1075, allocations: 0 / 494.9 MB, free: 6.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004913/0.108, allocations: 173.2 kB / 495.1 MB, free: 6.453 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.1081, allocations: 59.34 kB / 495.1 MB, free: 6.383 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.1083, allocations: 214.3 kB / 495.3 MB, free: 6.164 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.1083, allocations: 25.7 kB / 495.3 MB, free: 6.133 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.1083, allocations: 104.1 kB / 495.4 MB, free: 6.027 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.1084, allocations: 31.64 kB / 495.5 MB, free: 5.996 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.1084, allocations: 4 kB / 495.5 MB, free: 5.992 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1085, allocations: 326.8 kB / 495.8 MB, free: 5.664 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.084e-05/0.1086, allocations: 12 kB / 495.8 MB, free: 5.652 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.755e-05/0.1086, allocations: 37.7 kB / 495.8 MB, free: 5.609 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.1087, allocations: 65.62 kB / 495.9 MB, free: 5.539 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1087, allocations: 4 kB / 495.9 MB, free: 5.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000172/0.1089, allocations: 97.5 kB / 496 MB, free: 5.434 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1089, allocations: 11.98 kB / 496 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.109, allocations: 0 / 496 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.109, allocations: 0 / 496 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.95e-05/0.1091, allocations: 16.31 kB / 496 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1091, allocations: 4 kB / 496 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.664e-05/0.1091, allocations: 7.938 kB / 496.1 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.1091, allocations: 7.984 kB / 496.1 MB, free: 5.387 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.775e-05/0.1092, allocations: 129.9 kB / 496.2 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.1093, allocations: 7.906 kB / 496.2 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.1093, allocations: 25.33 kB / 496.2 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1093, allocations: 0 / 496.2 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1093, allocations: 0 / 496.2 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.1093, allocations: 3.938 kB / 496.2 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.1097, allocations: 395.2 kB / 496.6 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1098, allocations: 8.016 kB / 496.6 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.1098, allocations: 8 kB / 496.6 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1098, allocations: 3.938 kB / 496.6 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1098, allocations: 4 kB / 496.6 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1098, allocations: 0 / 496.6 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-05/0.1098, allocations: 8.109 kB / 496.6 MB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.11, allocations: 204.5 kB / 496.8 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.1101, allocations: 100.8 kB / 496.9 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.1101, allocations: 7.938 kB / 496.9 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.558e-05/0.1102, allocations: 0 / 496.9 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.1103, allocations: 7.984 kB / 497 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.1103, allocations: 4 kB / 497 MB, free: 4.379 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001265/0.1104, allocations: 160.2 kB / 497.1 MB, free: 4.223 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1104, allocations: 0 / 497.1 MB, free: 4.223 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002312/0.1106, allocations: 23.98 kB / 497.1 MB, free: 4.199 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001233/0.1119, allocations: 1.101 MB / 498.2 MB, free: 3.125 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.1121, allocations: 59.91 kB / 498.3 MB, free: 3.066 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1121, allocations: 0 / 498.3 MB, free: 3.066 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.291e-05/0.1121, allocations: 24 kB / 498.3 MB, free: 3.043 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.1125, allocations: 31.91 kB / 498.4 MB, free: 3.012 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.1136, allocations: 0.796 MB / 499.1 MB, free: 2.152 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.1138, allocations: 0.7043 MB / 499.9 MB, free: 1.422 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.102e-05/0.1139, allocations: 39.41 kB / 499.9 MB, free: 1.383 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1139, allocations: 0 / 499.9 MB, free: 1.383 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.843/2.956, allocations: 2.322 MB / 0.4904 GB, free: 42.4 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches