Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",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.0007787/0.0007788, allocations: 95.34 kB / 17.35 MB, free: 6.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.0008908/0.0008908, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.256/1.256, allocations: 223.3 MB / 242.3 MB, free: 208 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.2187/0.2187, allocations: 44.25 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003402, allocations: 12 kB / 410.5 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1094, allocations: 61.91 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.00209/0.1116, allocations: 1.382 MB / 473.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.113, allocations: 0.8304 MB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.452e-05/0.1131, allocations: 0 / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.1134, allocations: 55.86 kB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.1137, allocations: 47.81 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.114, allocations: 91.28 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.1142, allocations: 95.69 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.1142, allocations: 4 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.2e-05/0.1143, allocations: 39.84 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.882e-05/0.1144, allocations: 43.72 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.1144, allocations: 0 / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.305e-05/0.1145, allocations: 27.94 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.038e-05/0.1146, allocations: 31.89 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.762e-05/0.1147, allocations: 61.39 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.1149, allocations: 107.9 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1149, allocations: 8 kB / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1149, allocations: 0 / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1149, allocations: 0 / 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.0005177/0.1154, allocations: 418.8 kB / 475.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.1155, allocations: 8.031 kB / 475.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.904e-05/0.1155, allocations: 34.73 kB / 475.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.1155, allocations: 12.84 kB / 475.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.1158, allocations: 212 kB / 475.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1158, allocations: 384 / 475.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.1158, allocations: 11.94 kB / 475.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.116, allocations: 45.67 kB / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.116, allocations: 0 / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.116, allocations: 4 kB / 475.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.116, allocations: 8 kB / 475.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.978e-05/0.1161, allocations: 15.94 kB / 475.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002113/0.1163, allocations: 189.6 kB / 476.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.1165, allocations: 58.55 kB / 476.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.529e-05/0.1165, allocations: 16.86 kB / 476.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.1166, allocations: 8 kB / 476.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.1167, allocations: 63.39 kB / 476.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.883e-06/0.1168, allocations: 0 / 476.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000276/0.117, allocations: 101.5 kB / 476.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.1171, allocations: 51.41 kB / 476.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.1173, allocations: 262.9 kB / 476.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.1174, allocations: 25.7 kB / 476.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.1174, allocations: 112.1 kB / 476.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.1175, allocations: 11.8 kB / 476.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.1175, allocations: 17.72 kB / 476.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1176, allocations: 326.8 kB / 477.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.042e-05/0.1177, allocations: 19.92 kB / 477.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.195e-05/0.1177, allocations: 21.72 kB / 477.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.1178, allocations: 53.64 kB / 477.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1178, allocations: 3.938 kB / 477.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001727/0.118, allocations: 85.44 kB / 477.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.118, allocations: 7.984 kB / 477.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1181, allocations: 0 / 477.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1181, allocations: 0 / 477.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.403e-05/0.1182, allocations: 12 kB / 477.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1182, allocations: 3.938 kB / 477.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.18e-05/0.1182, allocations: 7.969 kB / 477.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1182, allocations: 4 kB / 477.4 MB, free: 7.961 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.0001081/0.1184, allocations: 137.8 kB / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.1184, allocations: 19.78 kB / 477.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.977e-05/0.1184, allocations: 17 kB / 477.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1184, allocations: 0 / 477.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1184, allocations: 0 / 477.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1185, allocations: 4 kB / 477.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.1186, allocations: 197.6 kB / 477.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1186, allocations: 320 / 477.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-05/0.1186, allocations: 11.94 kB / 477.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1186, allocations: 4 kB / 477.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1187, allocations: 3.984 kB / 477.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1187, allocations: 0 / 477.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1187, allocations: 0 / 477.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.1189, allocations: 120.9 kB / 477.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.1189, allocations: 85.02 kB / 478 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.1189, allocations: 0 / 478 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.063e-05/0.119, allocations: 8 kB / 478 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.119, allocations: 3.984 kB / 478 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.1191, allocations: 4 kB / 478 MB, free: 7.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.1192, allocations: 196.2 kB / 478.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1192, allocations: 0 / 478.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.1195, allocations: 31.89 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.001286/0.1207, allocations: 0.9577 MB / 479.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001466/0.1209, allocations: 39.92 kB / 479.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1209, allocations: 0 / 479.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.656e-05/0.121, allocations: 20 kB / 479.2 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.1213, allocations: 23.97 kB / 479.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.123, allocations: 1.669 MB / 480.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.1233, allocations: 0.716 MB / 481.6 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.649e-05/0.1234, allocations: 16.53 kB / 481.6 MB, free: 3.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.668e-05/0.1235, allocations: 35.42 kB / 481.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1235, allocations: 0 / 481.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01313/0.1366, allocations: 2.964 MB / 484.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/0.1369, allocations: 238.3 kB / 484.9 MB, free: 484 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/1.848, allocations: 0 / 484.9 MB, free: 484 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches