Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test1",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.0008009/0.000801, allocations: 175.9 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.136/1.136, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0006839/0.0006839, allocations: 92.06 kB / 271.2 MB, free: 8.246 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.2777/0.2777, allocations: 43.56 MB / 363.1 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003565, allocations: 15.98 kB / 432.1 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09612/0.09649, allocations: 58.86 MB / 490.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.001707/0.09824, allocations: 1.394 MB / 492.3 MB, free: 9.129 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009567/0.09921, allocations: 0.7383 MB / 493.1 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.744e-05/0.09928, allocations: 4 kB / 493.1 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.09953, allocations: 51.8 kB / 493.1 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.09969, allocations: 47.83 kB / 493.2 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.09991, allocations: 79.84 kB / 493.3 MB, free: 8.203 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.1, allocations: 83.69 kB / 493.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.994e-05/0.1001, allocations: 16.2 kB / 493.4 MB, free: 8.105 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.106e-05/0.1002, allocations: 35.86 kB / 493.4 MB, free: 8.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.206e-05/0.1003, allocations: 39.77 kB / 493.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.1003, allocations: 0 / 493.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.614e-05/0.1004, allocations: 39.94 kB / 493.5 MB, free: 7.992 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.1004, allocations: 31.84 kB / 493.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.526e-05/0.1005, allocations: 61.44 kB / 493.6 MB, free: 7.895 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.1006, allocations: 92.09 kB / 493.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1007, allocations: 0 / 493.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1007, allocations: 0 / 493.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1007, allocations: 0 / 493.6 MB, free: 7.805 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.000455/0.1011, allocations: 422.8 kB / 494.1 MB, free: 7.344 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1012, allocations: 12.03 kB / 494.1 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.1012, allocations: 38.75 kB / 494.1 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.1013, allocations: 16.73 kB / 494.1 MB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.1015, allocations: 211.8 kB / 494.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.1015, allocations: 4.375 kB / 494.3 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.1015, allocations: 15.86 kB / 494.4 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.1017, allocations: 53.67 kB / 494.4 MB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1017, allocations: 3.938 kB / 494.4 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1017, allocations: 0 / 494.4 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1017, allocations: 0 / 494.4 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.484e-05/0.1018, allocations: 23.98 kB / 494.4 MB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.1021, allocations: 292.9 kB / 494.7 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.1023, allocations: 58.61 kB / 494.8 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.785e-05/0.1023, allocations: 16.86 kB / 494.8 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.1024, allocations: 15.98 kB / 494.8 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.1025, allocations: 67.38 kB / 494.9 MB, free: 6.402 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1025, allocations: 0 / 494.9 MB, free: 6.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004809/0.103, allocations: 181 kB / 495 MB, free: 6.219 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.1031, allocations: 59.39 kB / 495.1 MB, free: 6.148 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.1033, allocations: 259.7 kB / 495.4 MB, free: 5.883 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1033, allocations: 25.7 kB / 495.4 MB, free: 5.852 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.1034, allocations: 120.1 kB / 495.5 MB, free: 5.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.1034, allocations: 15.72 kB / 495.5 MB, free: 5.715 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.1034, allocations: 4 kB / 495.5 MB, free: 5.711 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1035, allocations: 326.8 kB / 495.8 MB, free: 5.383 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.241e-05/0.1036, allocations: 20 kB / 495.9 MB, free: 5.363 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.009e-05/0.1037, allocations: 33.7 kB / 495.9 MB, free: 5.324 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.1038, allocations: 65.64 kB / 496 MB, free: 5.254 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1038, allocations: 192 / 496 MB, free: 5.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001721/0.104, allocations: 105.4 kB / 496.1 MB, free: 5.145 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.104, allocations: 11.06 kB / 496.1 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.104, allocations: 0 / 496.1 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.104, allocations: 7.984 kB / 496.1 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.1041, allocations: 12 kB / 496.1 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1041, allocations: 0 / 496.1 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.807e-05/0.1042, allocations: 11.94 kB / 496.1 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.1042, allocations: 8.031 kB / 496.1 MB, free: 5.098 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 0.0001042/0.1043, allocations: 133.8 kB / 496.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.1043, allocations: 19.8 kB / 496.3 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.1044, allocations: 21.34 kB / 496.3 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1044, allocations: 0 / 496.3 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1044, allocations: 3.938 kB / 496.3 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1044, allocations: 3.938 kB / 496.3 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004007/0.1048, allocations: 411.5 kB / 496.7 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1048, allocations: 4 kB / 496.7 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.897e-05/0.1048, allocations: 4 kB / 496.7 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.1048, allocations: 7.938 kB / 496.7 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.1049, allocations: 3.984 kB / 496.7 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1049, allocations: 0 / 496.7 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1049, allocations: 4 kB / 496.7 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.1051, allocations: 204.2 kB / 496.9 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.1051, allocations: 88.92 kB / 497 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.1052, allocations: 7.922 kB / 497 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.1052, allocations: 8 kB / 497 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.1053, allocations: 7.938 kB / 497 MB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.1053, allocations: 7.984 kB / 497 MB, free: 4.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001487/0.1054, allocations: 199 kB / 497.2 MB, free: 3.875 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1055, allocations: 0 / 497.2 MB, free: 3.875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000231/0.1057, allocations: 27.98 kB / 497.3 MB, free: 3.848 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.001221/0.1069, allocations: 1.103 MB / 498.4 MB, free: 2.762 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.1071, allocations: 59.89 kB / 498.4 MB, free: 2.703 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1071, allocations: 0 / 498.4 MB, free: 2.703 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.473e-05/0.1072, allocations: 31.94 kB / 498.4 MB, free: 2.672 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.1075, allocations: 27.97 kB / 498.5 MB, free: 2.645 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.1087, allocations: 0.8953 MB / 499.4 MB, free: 1.684 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.1089, allocations: 0.716 MB / 0.4884 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.088e-05/0.109, allocations: 39.42 kB / 0.4884 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.109, allocations: 0 / 0.4884 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.903/3.012, allocations: 2.553 MB / 0.4909 GB, free: 42.04 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches