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.0008814/0.0008817, allocations: 96.02 kB / 17.35 MB, free: 6.367 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.001001/0.001001, allocations: 176.1 kB / 18.25 MB, free: 5.523 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.288/1.288, allocations: 223.3 MB / 242.3 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1895/0.1895, allocations: 44.25 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003503, allocations: 9.625 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.102, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.001899/0.104, allocations: 1.382 MB / 473.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.1054, allocations: 0.8304 MB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.935e-05/0.1055, allocations: 0 / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.1058, allocations: 47.8 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.106, allocations: 59.81 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.1063, allocations: 90.2 kB / 474.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.1065, allocations: 91.7 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.034e-05/0.1066, allocations: 7.984 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.632e-05/0.1067, allocations: 39.78 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.118e-05/0.1068, allocations: 31.8 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.1068, allocations: 8 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.769e-05/0.1069, allocations: 31.97 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.418e-05/0.1069, allocations: 23.92 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.284e-05/0.107, allocations: 65.38 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.1072, allocations: 107.8 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1072, allocations: 0 / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1072, allocations: 0 / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1072, allocations: 3.938 kB / 475.2 MB, free: 10.4 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.0004965/0.1077, allocations: 418.8 kB / 475.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1078, allocations: 16.03 kB / 475.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.668e-05/0.1078, allocations: 30.75 kB / 475.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.1079, allocations: 8.844 kB / 475.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.1081, allocations: 216 kB / 475.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1081, allocations: 384 / 475.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.1082, allocations: 3.938 kB / 475.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.1083, allocations: 57.61 kB / 475.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.1083, allocations: 0 / 475.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.1083, allocations: 0 / 475.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1083, allocations: 0 / 475.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.568e-05/0.1084, allocations: 19.98 kB / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.1086, allocations: 193.6 kB / 476.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.1088, allocations: 54.56 kB / 476.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.355e-05/0.1088, allocations: 20.84 kB / 476.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.1088, allocations: 0 / 476.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.109, allocations: 67.33 kB / 476.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.109, allocations: 0 / 476.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002599/0.1093, allocations: 93.58 kB / 476.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.1093, allocations: 55.41 kB / 476.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.1096, allocations: 262.9 kB / 476.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1096, allocations: 29.7 kB / 476.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.1097, allocations: 108.1 kB / 476.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.1097, allocations: 15.81 kB / 476.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.1098, allocations: 13.72 kB / 476.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1099, allocations: 334.8 kB / 477.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.797e-05/0.1099, allocations: 8 kB / 477.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.192e-05/0.11, allocations: 37.64 kB / 477.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.933e-05/0.1101, allocations: 41.7 kB / 477.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1101, allocations: 7.938 kB / 477.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001506/0.1102, allocations: 85.75 kB / 477.3 MB, free: 8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1103, allocations: 8 kB / 477.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.1103, allocations: 0 / 477.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.1103, allocations: 0 / 477.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.567e-05/0.1104, allocations: 15.98 kB / 477.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.1104, allocations: 0 / 477.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.888e-05/0.1104, allocations: 7.938 kB / 477.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.1105, allocations: 4 kB / 477.4 MB, free: 7.965 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 9.948e-05/0.1106, allocations: 141.7 kB / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.1106, allocations: 15.81 kB / 477.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.1106, allocations: 24.97 kB / 477.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1106, allocations: 3.938 kB / 477.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1106, allocations: 0 / 477.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1107, allocations: 0 / 477.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.1108, allocations: 201.5 kB / 477.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1108, allocations: 0 / 477.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.152e-05/0.1108, allocations: 4 kB / 477.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1108, allocations: 0 / 477.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1109, allocations: 8 kB / 477.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1109, allocations: 0 / 477.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1109, allocations: 0 / 477.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.111, allocations: 112.9 kB / 477.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.1111, allocations: 93 kB / 478 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.1111, allocations: 4 kB / 478 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.904e-05/0.1112, allocations: 0 / 478 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.1112, allocations: 11.94 kB / 478 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.1112, allocations: 0 / 478 MB, free: 7.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001647/0.1114, allocations: 204.2 kB / 478.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1114, allocations: 0 / 478.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002133/0.1116, allocations: 23.91 kB / 478.2 MB, free: 7.035 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.001213/0.1128, allocations: 0.9447 MB / 479.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001379/0.113, allocations: 39.92 kB / 479.2 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.113, allocations: 0 / 479.2 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.514e-05/0.1131, allocations: 19.98 kB / 479.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.1133, allocations: 31.84 kB / 479.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.115, allocations: 1.673 MB / 480.9 MB, free: 4.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.1152, allocations: 0.7043 MB / 481.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.199e-05/0.1153, allocations: 20.8 kB / 481.6 MB, free: 3.617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.125e-05/0.1154, allocations: 47.36 kB / 481.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1154, allocations: 0 / 481.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01281/0.1282, allocations: 2.954 MB / 484.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/0.1284, allocations: 250.2 kB / 484.9 MB, free: 484 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/1.85, allocations: 0 / 484.9 MB, free: 484 kB / 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