Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57",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.001716/0.001715, allocations: 95.53 kB / 16.26 MB, free: 5.961 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.001373/0.001373, allocations: 192.6 kB / 17.19 MB, free: 5.598 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.589/1.589, 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.2091/0.2091, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.001734/0.001735, allocations: 70.89 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08908/0.09083, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002259/0.09312, allocations: 1.689 MB / 442.3 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.09463, allocations: 1.402 MB / 443.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.049e-05/0.09472, allocations: 0 / 443.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.09496, allocations: 47.77 kB / 443.8 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.09515, allocations: 55.77 kB / 443.8 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.09537, allocations: 87.31 kB / 443.9 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.0955, allocations: 95.7 kB / 444 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.153e-05/0.09558, allocations: 16.17 kB / 444 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.241e-05/0.09565, allocations: 47.77 kB / 444.1 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.09577, allocations: 35.84 kB / 444.1 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.0958, allocations: 8 kB / 444.1 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.09591, allocations: 59.97 kB / 444.2 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.569e-05/0.09595, allocations: 11.94 kB / 444.2 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.096, allocations: 39.72 kB / 444.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.09617, allocations: 115.7 kB / 444.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.09618, allocations: 4 kB / 444.3 MB, free: 3.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.09619, allocations: 0 / 444.3 MB, free: 3.078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.0962, allocations: 0 / 444.3 MB, free: 3.078 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.0003834/0.09659, allocations: 403 kB / 444.7 MB, free: 2.637 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.09663, allocations: 15.89 kB / 444.7 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.258e-05/0.09665, allocations: 38.75 kB / 444.8 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.09669, allocations: 12.83 kB / 444.8 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.09685, allocations: 193.4 kB / 445 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.09687, allocations: 8.312 kB / 445 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.09689, allocations: 11.92 kB / 445 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.09702, allocations: 67.39 kB / 445.1 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.09704, allocations: 0 / 445.1 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.09705, allocations: 0 / 445.1 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.09706, allocations: 4 kB / 445.1 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.326e-05/0.09713, allocations: 23.98 kB / 445.1 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002389/0.09737, allocations: 288.8 kB / 445.4 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.09752, allocations: 66.5 kB / 445.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.419e-05/0.09758, allocations: 24.84 kB / 445.5 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.0976, allocations: 0 / 445.5 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.09776, allocations: 67.39 kB / 445.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.09777, allocations: 0 / 445.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004591/0.09823, allocations: 165.3 kB / 445.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.09827, allocations: 81.11 kB / 445.8 MB, free: 1.434 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.09839, allocations: 160.8 kB / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.09841, allocations: 33.7 kB / 446 MB, free: 1.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.09845, allocations: 96.08 kB / 446.1 MB, free: 1.133 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.09848, allocations: 27.64 kB / 446.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.09852, allocations: 21.72 kB / 446.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.373e-05/0.09858, allocations: 318.8 kB / 446.4 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.212e-05/0.09864, allocations: 23.98 kB / 446.4 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-05/0.0987, allocations: 42.56 kB / 446.5 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.257e-05/0.0988, allocations: 65.72 kB / 446.5 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.09881, allocations: 0 / 446.5 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001529/0.09897, allocations: 97.44 kB / 446.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.09899, allocations: 8 kB / 446.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.099, allocations: 0 / 446.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.09902, allocations: 0 / 446.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.661e-05/0.0991, allocations: 19.92 kB / 446.7 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.09911, allocations: 8.188 kB / 446.7 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.82e-05/0.09917, allocations: 7.938 kB / 446.7 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.09918, allocations: 7.984 kB / 446.7 MB, free: 472 kB / 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 6.478e-05/0.09925, allocations: 129.1 kB / 446.8 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.09928, allocations: 11.91 kB / 446.8 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.09932, allocations: 12.72 kB / 446.8 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.09933, allocations: 0 / 446.8 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.09933, allocations: 0 / 446.8 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.09934, allocations: 3.938 kB / 446.8 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.09971, allocations: 395.3 kB / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.09973, allocations: 384 / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.09977, allocations: 8 kB / 447.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.09978, allocations: 3.938 kB / 447.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.0998, allocations: 8 kB / 447.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.0998, allocations: 4.125 kB / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.09981, allocations: 0 / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.1, allocations: 208.2 kB / 447.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.1001, allocations: 89 kB / 447.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.1001, allocations: 7.938 kB / 447.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.1002, allocations: 4 kB / 447.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.1002, allocations: 7.984 kB / 447.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.1003, allocations: 0 / 447.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.406e-05/0.1004, allocations: 119.2 kB / 447.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1004, allocations: 4 kB / 447.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.1006, allocations: 28 kB / 447.7 MB, free: 15.33 MB / 334.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.001434/0.1021, allocations: 1.13 MB / 448.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.1023, allocations: 63.91 kB / 448.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1023, allocations: 4.062 kB / 448.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.421e-05/0.1023, allocations: 20 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.1027, allocations: 41.22 kB / 449 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.1042, allocations: 1.539 MB / 450.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.1046, allocations: 0.7003 MB / 451.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.467e-05/0.1047, allocations: 25.28 kB / 451.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.479e-05/0.1047, allocations: 35.41 kB / 451.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1047, allocations: 0 / 451.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04737/0.1521, allocations: 3.468 MB / 454.7 MB, free: 8.219 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/8.111, allocations: 7.875 kB / 454.7 MB, free: 8.211 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches