Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002194/0.002194, allocations: 209.7 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2246/0.2246, allocations: 44.93 MB / 358.8 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 67.89 kB / 0.4931 GB, free: 10.44 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3571, allocations: 65.47 MB / 0.557 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003755/0.3609, allocations: 1.73 MB / 0.5587 GB, free: 5.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.3628, allocations: 0.9792 MB / 0.5597 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.973e-05/0.3628, allocations: 0 / 0.5597 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.3632, allocations: 107.7 kB / 0.5598 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.3636, allocations: 131.5 kB / 0.5599 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.3639, allocations: 87.66 kB / 0.56 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.3641, allocations: 123.7 kB / 0.5601 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3642, allocations: 9.812 kB / 0.5601 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.3644, allocations: 67.75 kB / 0.5602 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.3645, allocations: 59.81 kB / 0.5602 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.3645, allocations: 4 kB / 0.5603 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.3647, allocations: 71.84 kB / 0.5603 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.924e-05/0.3647, allocations: 23.91 kB / 0.5603 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.321e-05/0.3648, allocations: 31.75 kB / 0.5604 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.3651, allocations: 155.3 kB / 0.5605 GB, free: 3.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3651, allocations: 3.984 kB / 0.5605 GB, free: 3.914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3651, allocations: 4 kB / 0.5605 GB, free: 3.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3651, allocations: 0 / 0.5605 GB, free: 3.91 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006045/0.3657, allocations: 373.3 kB / 0.5609 GB, free: 3.516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3658, allocations: 15.97 kB / 0.5609 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.984e-05/0.3658, allocations: 34.75 kB / 0.5609 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.3658, allocations: 20.83 kB / 0.561 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.3661, allocations: 158.4 kB / 0.5611 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.3662, allocations: 8.375 kB / 0.5611 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.3662, allocations: 7.891 kB / 0.5611 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.3663, allocations: 61.67 kB / 0.5612 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3663, allocations: 0 / 0.5612 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.3664, allocations: 7.984 kB / 0.5612 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3664, allocations: 0 / 0.5612 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.264e-05/0.3665, allocations: 27.92 kB / 0.5612 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.3669, allocations: 275.8 kB / 0.5615 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.3671, allocations: 58.55 kB / 0.5615 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.65e-05/0.3672, allocations: 24.97 kB / 0.5616 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.3672, allocations: 0 / 0.5616 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.3674, allocations: 75.33 kB / 0.5616 GB, free: 2.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.3674, allocations: 0 / 0.5616 GB, free: 2.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007805/0.3682, allocations: 253.4 kB / 0.5619 GB, free: 2.395 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.3682, allocations: 55.34 kB / 0.5619 GB, free: 2.328 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.3685, allocations: 254.7 kB / 0.5622 GB, free: 2.062 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.3685, allocations: 25.7 kB / 0.5622 GB, free: 2.031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.36e-05/0.3686, allocations: 124 kB / 0.5623 GB, free: 1.906 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.3686, allocations: 39.75 kB / 0.5623 GB, free: 1.867 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.3687, allocations: 29.72 kB / 0.5624 GB, free: 1.832 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3688, allocations: 330.8 kB / 0.5627 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.801e-05/0.3689, allocations: 31.98 kB / 0.5627 GB, free: 1.469 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.927e-05/0.369, allocations: 45.7 kB / 0.5628 GB, free: 1.418 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.3691, allocations: 81.64 kB / 0.5628 GB, free: 1.332 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3691, allocations: 0 / 0.5628 GB, free: 1.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000242/0.3694, allocations: 133.5 kB / 0.563 GB, free: 1.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3694, allocations: 6.344 kB / 0.563 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3694, allocations: 0 / 0.563 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3694, allocations: 7.969 kB / 0.563 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.032e-05/0.3695, allocations: 27.92 kB / 0.563 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.3695, allocations: 0 / 0.563 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.851e-05/0.3696, allocations: 4 kB / 0.563 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.3696, allocations: 8 kB / 0.563 GB, free: 1.145 MB / 398.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 (13): * Single equations (assignments): 13 * 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.0001401/0.3697, allocations: 141.8 kB / 0.5632 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.3697, allocations: 15.91 kB / 0.5632 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000327/0.3701, allocations: 155.2 kB / 0.5633 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3701, allocations: 3.938 kB / 0.5633 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3701, allocations: 0 / 0.5633 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3701, allocations: 4 kB / 0.5633 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006495/0.3707, allocations: 427.1 kB / 0.5637 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3707, allocations: 0 / 0.5637 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.693e-05/0.3708, allocations: 19.98 kB / 0.5638 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.3708, allocations: 0 / 0.5638 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3708, allocations: 7.938 kB / 0.5638 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3708, allocations: 0 / 0.5638 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3708, allocations: 3.938 kB / 0.5638 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.3711, allocations: 245.1 kB / 0.564 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.762e-05/0.3711, allocations: 19.91 kB / 0.564 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.3712, allocations: 3.984 kB / 0.564 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.3712, allocations: 4.094 kB / 0.564 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.3713, allocations: 16.03 kB / 0.564 GB, free: 16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.3713, allocations: 7.938 kB / 0.564 GB, free: 15.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001804/0.3715, allocations: 196.2 kB / 0.5642 GB, free: 15.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3715, allocations: 0 / 0.5642 GB, free: 15.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.3718, allocations: 35.92 kB / 0.5643 GB, free: 15.76 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002606/0.3744, allocations: 1.231 MB / 0.5655 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.3746, allocations: 71.91 kB / 0.5655 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3746, allocations: 0 / 0.5655 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.464e-05/0.3747, allocations: 39.92 kB / 0.5656 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.3751, allocations: 40.78 kB / 0.5656 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.3773, allocations: 1.895 MB / 0.5675 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.3775, allocations: 105.1 kB / 0.5676 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.524e-05/0.3775, allocations: 20.62 kB / 0.5676 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.493e-05/0.3776, allocations: 47.41 kB / 0.5676 GB, free: 12.42 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3776, allocations: 0 / 0.5676 GB, free: 12.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03163/0.4093, allocations: 4.723 MB / 0.5722 GB, free: 7.766 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.73, allocations: 7.922 kB / 0.5723 GB, free: 7.758 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.844192597083747]