Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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 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 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 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.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",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.001023/0.001023, allocations: 105.2 kB / 16.27 MB, free: 5.98 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.001025/0.001025, allocations: 191.9 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2009/0.2009, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 72.53 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09193/0.09373, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003344/0.09713, allocations: 1.697 MB / 442.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.09842, allocations: 0.7922 MB / 443.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.0986, allocations: 3.938 kB / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004137/0.09903, allocations: 39.83 kB / 443.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.0994, allocations: 59.69 kB / 443.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.09974, allocations: 79.78 kB / 443.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.09995, allocations: 95.69 kB / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.1001, allocations: 16.16 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.978e-05/0.1002, allocations: 39.8 kB / 443.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.326e-05/0.1003, allocations: 27.84 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1003, allocations: 8 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.1005, allocations: 39.98 kB / 443.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.814e-05/0.1005, allocations: 15.92 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.535e-05/0.1006, allocations: 35.73 kB / 443.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.1009, allocations: 103.7 kB / 443.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1009, allocations: 0 / 443.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1009, allocations: 0 / 443.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.1009, allocations: 4 kB / 443.7 MB, free: 3.738 MB / 318.1 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.0005665/0.1015, allocations: 399 kB / 444.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.1015, allocations: 15.89 kB / 444.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.986e-05/0.1016, allocations: 38.73 kB / 444.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.1016, allocations: 8.844 kB / 444.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.1019, allocations: 204.4 kB / 444.3 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1019, allocations: 11.92 kB / 444.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.1019, allocations: 0 / 444.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.1021, allocations: 53.67 kB / 444.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.1021, allocations: 0 / 444.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1021, allocations: 11.92 kB / 444.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1021, allocations: 0 / 444.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.627e-05/0.1022, allocations: 23.98 kB / 444.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/0.1026, allocations: 276.9 kB / 444.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.1027, allocations: 58.62 kB / 444.8 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.799e-05/0.1028, allocations: 20.84 kB / 444.8 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1028, allocations: 11.94 kB / 444.8 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.103, allocations: 71.3 kB / 444.9 MB, free: 2.383 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.103, allocations: 0 / 444.9 MB, free: 2.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005343/0.1036, allocations: 169.3 kB / 445 MB, free: 2.211 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.1036, allocations: 55.34 kB / 445.1 MB, free: 2.145 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.1037, allocations: 163 kB / 445.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.1038, allocations: 25.7 kB / 445.3 MB, free: 1.941 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.1038, allocations: 100.1 kB / 445.4 MB, free: 1.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.1038, allocations: 27.64 kB / 445.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.1039, allocations: 21.72 kB / 445.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.226e-05/0.1039, allocations: 318.8 kB / 445.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.146e-05/0.104, allocations: 27.92 kB / 445.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.432e-05/0.104, allocations: 37.7 kB / 445.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.456e-05/0.1041, allocations: 61.7 kB / 445.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1041, allocations: 0 / 445.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000156/0.1043, allocations: 93.53 kB / 445.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1043, allocations: 8 kB / 445.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1043, allocations: 3.938 kB / 445.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1044, allocations: 0 / 445.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.576e-05/0.1044, allocations: 15.98 kB / 446 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1045, allocations: 4 kB / 446 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.714e-05/0.1045, allocations: 4.031 kB / 446 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1045, allocations: 11.94 kB / 446 MB, free: 1.184 MB / 318.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.941e-05/0.1046, allocations: 129.3 kB / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.1047, allocations: 11.81 kB / 446.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.1047, allocations: 16.66 kB / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1047, allocations: 0 / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1047, allocations: 0 / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1047, allocations: 0 / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.1051, allocations: 395.3 kB / 446.5 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1051, allocations: 3.938 kB / 446.5 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.319e-05/0.1051, allocations: 11.98 kB / 446.5 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1051, allocations: 4 kB / 446.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1051, allocations: 0 / 446.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1051, allocations: 384 / 446.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1052, allocations: 0 / 446.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.1053, allocations: 212.4 kB / 446.7 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.1054, allocations: 85.02 kB / 446.8 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.1054, allocations: 11.92 kB / 446.8 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.1055, allocations: 8 kB / 446.8 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.1055, allocations: 4 kB / 446.9 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.1055, allocations: 7.984 kB / 446.9 MB, free: 196 kB / 318.1 MB Notification: Performance of sorting global known variables: time 6.486e-05/0.1056, allocations: 123.9 kB / 447 MB, free: 72 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1056, allocations: 0 / 447 MB, free: 72 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.1059, allocations: 28 kB / 447 MB, free: 44 kB / 318.1 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 (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.001405/0.1073, allocations: 1.095 MB / 448.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001791/0.1075, allocations: 63.91 kB / 448.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1075, allocations: 0 / 448.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.27e-05/0.1076, allocations: 31.97 kB / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.1079, allocations: 25.95 kB / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.1095, allocations: 1.57 MB / 449.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.1098, allocations: 0.7041 MB / 450.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.64e-05/0.1098, allocations: 21.16 kB / 450.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/0.1099, allocations: 31.61 kB / 450.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1099, allocations: 0 / 450.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.1289, allocations: 3.192 MB / 453.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.756/7.885, allocations: 0 / 453.7 MB, free: 9.246 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches