Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",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.001071/0.001071, allocations: 106.2 kB / 17.63 MB, free: 5.344 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.001127/0.001127, allocations: 192 kB / 18.56 MB, free: 4.434 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.443/1.443, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2134/0.2134, allocations: 44.18 MB / 336.6 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 69.39 kB / 408.6 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1038, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003234/0.1071, allocations: 1.702 MB / 471.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.1085, allocations: 0.8769 MB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.812e-05/0.1086, allocations: 4 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.1089, allocations: 39.77 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.1092, allocations: 51.75 kB / 472 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.1095, allocations: 111.6 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.1097, allocations: 99.69 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.717e-05/0.1098, allocations: 12.23 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.78e-05/0.1099, allocations: 39.8 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.21e-05/0.11, allocations: 27.84 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.11, allocations: 4 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1101, allocations: 43.98 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.1102, allocations: 19.86 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.999e-05/0.1102, allocations: 51.64 kB / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.1105, allocations: 111.9 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1105, allocations: 0 / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1105, allocations: 0 / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.1105, allocations: 7.984 kB / 472.6 MB, free: 11.04 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005279/0.111, allocations: 403 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1111, allocations: 12.03 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.303e-05/0.1111, allocations: 42.67 kB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.1112, allocations: 8.844 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.1115, allocations: 210.6 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1115, allocations: 4.375 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.1115, allocations: 7.938 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.1117, allocations: 57.67 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1117, allocations: 0 / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1117, allocations: 0 / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1117, allocations: 4 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.343e-05/0.1118, allocations: 15.98 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.1122, allocations: 296.7 kB / 473.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.1124, allocations: 62.67 kB / 473.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.209e-05/0.1125, allocations: 16.86 kB / 473.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.1125, allocations: 0 / 473.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.1127, allocations: 63.39 kB / 473.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.1127, allocations: 4 kB / 473.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005729/0.1133, allocations: 177.4 kB / 473.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.1134, allocations: 55.41 kB / 474 MB, free: 9.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.1136, allocations: 203.3 kB / 474.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.1136, allocations: 33.64 kB / 474.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.531e-05/0.1137, allocations: 104.1 kB / 474.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.1137, allocations: 23.7 kB / 474.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.1137, allocations: 21.72 kB / 474.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1138, allocations: 318.8 kB / 474.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.905e-05/0.1139, allocations: 27.98 kB / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-05/0.114, allocations: 37.83 kB / 474.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.1141, allocations: 53.72 kB / 474.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1141, allocations: 0 / 474.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001939/0.1143, allocations: 113.4 kB / 474.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1143, allocations: 4.188 kB / 474.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.1144, allocations: 0 / 474.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1144, allocations: 7.969 kB / 474.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.254e-05/0.1145, allocations: 23.92 kB / 474.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1145, allocations: 0 / 474.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.53e-05/0.1145, allocations: 7.875 kB / 474.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.1145, allocations: 8 kB / 474.9 MB, free: 8.406 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 (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 9.72e-05/0.1147, allocations: 129.8 kB / 475.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.1147, allocations: 7.906 kB / 475.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.145e-05/0.1147, allocations: 13.41 kB / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1147, allocations: 8 kB / 475.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1147, allocations: 0 / 475.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.1148, allocations: 3.938 kB / 475.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004155/0.1152, allocations: 395.3 kB / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1152, allocations: 0 / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.587e-05/0.1152, allocations: 8 kB / 475.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1153, allocations: 3.938 kB / 475.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1153, allocations: 4 kB / 475.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1153, allocations: 8.031 kB / 475.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1153, allocations: 0 / 475.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.1155, allocations: 200.1 kB / 475.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.431e-05/0.1156, allocations: 92.98 kB / 475.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.1156, allocations: 7.938 kB / 475.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.875e-05/0.1157, allocations: 4 kB / 475.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.1157, allocations: 7.984 kB / 475.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.1157, allocations: 4 kB / 475.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.1158, allocations: 151.9 kB / 476 MB, free: 7.273 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1158, allocations: 0 / 476 MB, free: 7.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.1161, allocations: 24 kB / 476 MB, free: 7.25 MB / 350.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.001399/0.1175, allocations: 1.105 MB / 477.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.1177, allocations: 63.91 kB / 477.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1177, allocations: 4.062 kB / 477.2 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.612e-05/0.1178, allocations: 27.98 kB / 477.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1182, allocations: 35.56 kB / 477.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.1198, allocations: 1.651 MB / 478.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.1202, allocations: 0.708 MB / 479.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.331e-05/0.1202, allocations: 21.17 kB / 479.6 MB, free: 3.684 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.08e-05/0.1203, allocations: 35.42 kB / 479.6 MB, free: 3.648 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1203, allocations: 0 / 479.6 MB, free: 3.648 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.1422, allocations: 3.333 MB / 483 MB, free: 404 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/7.682, allocations: 4 kB / 483 MB, free: 400 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches