Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",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.001128/0.001128, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.00118/0.00118, allocations: 192 kB / 18.55 MB, free: 4.566 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.368/1.368, allocations: 222.9 MB / 242.3 MB, free: 15.17 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.2006/0.2006, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 66.81 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09754/0.09886, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002976/0.1019, allocations: 1.66 MB / 471 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1033, allocations: 0.8574 MB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.873e-05/0.1034, allocations: 4 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.1037, allocations: 47.75 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.1039, allocations: 67.75 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.1042, allocations: 111.1 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.1044, allocations: 87.7 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.1044, allocations: 4 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.895e-05/0.1045, allocations: 43.78 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.423e-05/0.1046, allocations: 27.8 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.1046, allocations: 4 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.33e-05/0.1047, allocations: 31.98 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.1048, allocations: 31.91 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.1049, allocations: 35.75 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.1051, allocations: 119.8 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1051, allocations: 3.938 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1051, allocations: 0 / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1051, 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005247/0.1056, allocations: 430.7 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1057, allocations: 8.031 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.1057, allocations: 34.75 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.1058, allocations: 20.73 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.106, allocations: 208 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.106, allocations: 8.375 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.106, allocations: 11.92 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.1062, allocations: 45.62 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1062, allocations: 0 / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1062, allocations: 4 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1062, allocations: 0 / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.992e-05/0.1063, allocations: 15.98 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.1065, allocations: 189.7 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.1067, allocations: 54.56 kB / 473.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.446e-05/0.1067, allocations: 20.84 kB / 473.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.1068, allocations: 4 kB / 473.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.107, allocations: 71.33 kB / 473.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 3.106e-06/0.107, allocations: 3.984 kB / 473.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000289/0.1073, allocations: 97.48 kB / 473.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.1073, allocations: 51.41 kB / 473.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.1076, allocations: 262.9 kB / 474 MB, free: 9.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.1076, allocations: 25.7 kB / 474 MB, free: 9.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.1076, allocations: 112.1 kB / 474.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.1077, allocations: 11.89 kB / 474.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.1077, allocations: 25.72 kB / 474.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1079, allocations: 322.8 kB / 474.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.095e-05/0.1079, allocations: 19.92 kB / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.552e-05/0.108, allocations: 25.7 kB / 474.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.526e-05/0.1081, allocations: 49.64 kB / 474.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1081, allocations: 7.938 kB / 474.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001619/0.1083, allocations: 89.44 kB / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1083, allocations: 4 kB / 474.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1083, allocations: 7.922 kB / 474.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1083, allocations: 0 / 474.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.623e-05/0.1084, allocations: 8 kB / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1084, allocations: 4 kB / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.1085, allocations: 8.156 kB / 474.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.1085, allocations: 4 kB / 474.7 MB, free: 8.656 MB / 350.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 (7): * Single equations (assignments): 7 * 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.0001101/0.1086, allocations: 145.7 kB / 474.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.1086, allocations: 7.906 kB / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.003e-05/0.1087, allocations: 20.98 kB / 474.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1087, allocations: 4 kB / 474.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1087, allocations: 0 / 474.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1087, allocations: 0 / 474.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.1088, allocations: 193.6 kB / 475.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1088, allocations: 4 kB / 475.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.998e-05/0.1089, allocations: 0 / 475.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1089, allocations: 4 kB / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.1089, allocations: 4 kB / 475.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1089, allocations: 3.984 kB / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1089, allocations: 0 / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.1091, allocations: 112.9 kB / 475.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-05/0.1092, allocations: 88.91 kB / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.1092, allocations: 4 kB / 475.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.855e-05/0.1092, allocations: 4 kB / 475.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.1093, allocations: 11.94 kB / 475.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.1093, allocations: 3.984 kB / 475.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.1094, allocations: 196.2 kB / 475.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1095, allocations: 0 / 475.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.1097, allocations: 16 kB / 475.5 MB, free: 7.75 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00124/0.1109, allocations: 0.948 MB / 476.5 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.1111, allocations: 43.92 kB / 476.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1111, allocations: 0 / 476.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.88e-05/0.1112, allocations: 19.98 kB / 476.5 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.1115, allocations: 31.72 kB / 476.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.1132, allocations: 1.65 MB / 478.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.1135, allocations: 0.7119 MB / 478.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.88e-05/0.1136, allocations: 16.8 kB / 478.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/0.1137, allocations: 39.42 kB / 479 MB, free: 4.309 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1137, allocations: 0 / 479 MB, free: 4.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.1385, allocations: 3.311 MB / 482.3 MB, free: 1.086 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/7.926, allocations: 16 kB / 482.3 MB, free: 1.07 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches