Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",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.0009976/0.000998, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009423/0.0009422, allocations: 180.8 kB / 16.92 MB, free: 6.922 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.482/1.482, allocations: 205.4 MB / 223.1 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3034/0.3034, allocations: 43.58 MB / 315 MB, free: 8.781 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.0004848/0.0004848, allocations: 16 kB / 384.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09458/0.09508, allocations: 58.85 MB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.001868/0.09698, allocations: 1.562 MB / 445.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.09825, allocations: 0.8703 MB / 446 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.724e-05/0.09833, allocations: 4 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003993/0.09874, allocations: 243.5 kB / 446.2 MB, free: 9.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.09903, allocations: 171.5 kB / 446.4 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.09937, allocations: 139.8 kB / 446.5 MB, free: 9.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.09963, allocations: 231.3 kB / 446.7 MB, free: 9.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.254e-05/0.09973, allocations: 25.53 kB / 446.8 MB, free: 9.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.09987, allocations: 115.6 kB / 446.9 MB, free: 9.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.1001, allocations: 175.4 kB / 447.1 MB, free: 9.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.1001, allocations: 4 kB / 447.1 MB, free: 9.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.976e-05/0.1002, allocations: 39.98 kB / 447.1 MB, free: 9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.56e-05/0.1003, allocations: 63.75 kB / 447.2 MB, free: 8.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.329e-05/0.1004, allocations: 105 kB / 447.3 MB, free: 8.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.1006, allocations: 219.4 kB / 447.5 MB, free: 8.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1006, allocations: 0 / 447.5 MB, free: 8.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1006, allocations: 0 / 447.5 MB, free: 8.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1006, allocations: 0 / 447.5 MB, free: 8.613 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005954/0.1012, allocations: 0.5215 MB / 448 MB, free: 8.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1013, allocations: 12.03 kB / 448 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.442e-05/0.1013, allocations: 42.67 kB / 448.1 MB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.1014, allocations: 32.5 kB / 448.1 MB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.1017, allocations: 284 kB / 448.4 MB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1017, allocations: 4.359 kB / 448.4 MB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.1017, allocations: 11.94 kB / 448.4 MB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.102, allocations: 99.36 kB / 448.5 MB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.102, allocations: 0 / 448.5 MB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.102, allocations: 3.938 kB / 448.5 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.102, allocations: 7.938 kB / 448.5 MB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.1022, allocations: 35.97 kB / 448.5 MB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/0.1027, allocations: 453 kB / 449 MB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.103, allocations: 109.3 kB / 449.1 MB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.16e-05/0.1031, allocations: 49.69 kB / 449.1 MB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.1032, allocations: 7.938 kB / 449.1 MB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.1034, allocations: 109.1 kB / 449.2 MB, free: 6.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.1034, allocations: 0 / 449.2 MB, free: 6.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000841/0.1043, allocations: 379.6 kB / 449.6 MB, free: 6.273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.1043, allocations: 96.98 kB / 449.7 MB, free: 6.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004297/0.1048, allocations: 473.7 kB / 450.2 MB, free: 5.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.1048, allocations: 33.7 kB / 450.2 MB, free: 5.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.105, allocations: 160.4 kB / 450.4 MB, free: 5.488 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.105, allocations: 47.36 kB / 450.4 MB, free: 5.441 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.1051, allocations: 21.7 kB / 450.4 MB, free: 5.414 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1052, allocations: 338.8 kB / 450.8 MB, free: 5.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.847e-05/0.1053, allocations: 43.97 kB / 450.8 MB, free: 5.031 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.1054, allocations: 75.39 kB / 450.9 MB, free: 4.945 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.1056, allocations: 123.5 kB / 451 MB, free: 4.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.1056, allocations: 0 / 451 MB, free: 4.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003027/0.1059, allocations: 193.1 kB / 451.2 MB, free: 4.617 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1059, allocations: 4 kB / 451.2 MB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.106, allocations: 0 / 451.2 MB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.106, allocations: 7.984 kB / 451.2 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.1061, allocations: 31.92 kB / 451.2 MB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1061, allocations: 4 kB / 451.2 MB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.103e-05/0.1062, allocations: 11.94 kB / 451.2 MB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.1062, allocations: 11.92 kB / 451.2 MB, free: 4.547 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.000142/0.1064, allocations: 173.9 kB / 451.4 MB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.1064, allocations: 27.62 kB / 451.4 MB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.545e-05/0.1065, allocations: 34.81 kB / 451.5 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1065, allocations: 7.938 kB / 451.5 MB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.1065, allocations: 0 / 451.5 MB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1065, allocations: 0 / 451.5 MB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006991/0.1072, allocations: 0.6397 MB / 452.1 MB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1072, allocations: 0 / 452.1 MB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.1073, allocations: 16 kB / 452.1 MB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1073, allocations: 3.938 kB / 452.1 MB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.1073, allocations: 7.984 kB / 452.2 MB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1073, allocations: 320 / 452.2 MB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.1074, allocations: 4.75 kB / 452.2 MB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005725/0.1079, allocations: 368.1 kB / 452.5 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-05/0.108, allocations: 108.7 kB / 452.6 MB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.108, allocations: 11.98 kB / 452.6 MB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.1082, allocations: 4 kB / 452.6 MB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.1082, allocations: 27.84 kB / 452.7 MB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.1083, allocations: 15.98 kB / 452.7 MB, free: 2.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003492/0.1086, allocations: 355.1 kB / 453 MB, free: 2.648 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1086, allocations: 0 / 453 MB, free: 2.648 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003769/0.109, allocations: 47.98 kB / 453.1 MB, free: 2.602 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001577/0.1106, allocations: 1.257 MB / 454.3 MB, free: 1.355 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003063/0.1109, allocations: 119.9 kB / 454.5 MB, free: 1.238 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1109, allocations: 0 / 454.5 MB, free: 1.238 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.1111, allocations: 59.91 kB / 454.5 MB, free: 1.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005655/0.1116, allocations: 49.41 kB / 454.6 MB, free: 1.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1666/0.2782, allocations: 2.806 MB / 457.4 MB, free: 44.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.2784, allocations: 0.7743 MB / 458.1 MB, free: 44.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.2785, allocations: 31.08 kB / 458.2 MB, free: 44.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.949e-05/0.2786, allocations: 91.94 kB / 458.3 MB, free: 44.05 MB / 382.1 MB Notification: Performance of SimCode: time 9.11e-07/0.2786, allocations: 0 / 458.3 MB, free: 44.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01449/0.2931, allocations: 5.415 MB / 463.7 MB, free: 43.69 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/0.2933, allocations: 237.8 kB / 463.9 MB, free: 43.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.071, allocations: 0 / 463.9 MB, free: 43.43 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches