Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.00145/0.00145, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001754/0.001754, allocations: 213 kB / 23.74 MB, free: 4.672 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2356/0.2356, allocations: 44.91 MB / 358.8 MB, free: 6.262 MB / 286.1 MB " [Timeout remaining time 179] 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.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",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.003346/0.003346, allocations: 71.89 kB / 0.4931 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4101, allocations: 65.48 MB / 0.5571 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.005061/0.4152, allocations: 1.841 MB / 0.5589 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.4175, allocations: 1.112 MB / 0.56 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.4176, allocations: 3.938 kB / 0.56 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006503/0.4183, allocations: 311.3 kB / 0.5603 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000648/0.4189, allocations: 259.2 kB / 0.5605 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.4193, allocations: 103.7 kB / 0.5606 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004674/0.4197, allocations: 271.2 kB / 0.5609 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.284e-05/0.4198, allocations: 13.8 kB / 0.5609 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/0.4201, allocations: 135.5 kB / 0.561 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003578/0.4204, allocations: 227.4 kB / 0.5612 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.4205, allocations: 4 kB / 0.5612 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.4206, allocations: 51.97 kB / 0.5613 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.4208, allocations: 135.6 kB / 0.5614 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.421, allocations: 158.7 kB / 0.5616 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000551/0.4215, allocations: 372.1 kB / 0.5619 GB, free: 2.754 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.4215, allocations: 4 kB / 0.5619 GB, free: 2.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4215, allocations: 0 / 0.5619 GB, free: 2.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.4215, allocations: 4 kB / 0.5619 GB, free: 2.746 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.001199/0.4227, allocations: 0.6863 MB / 0.5626 GB, free: 2.027 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.4228, allocations: 8.031 kB / 0.5626 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.93e-05/0.4229, allocations: 38.69 kB / 0.5626 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.423, allocations: 48.61 kB / 0.5627 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000914/0.4239, allocations: 402.5 kB / 0.5631 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.4239, allocations: 4.375 kB / 0.5631 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.4239, allocations: 7.938 kB / 0.5631 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.4242, allocations: 91.36 kB / 0.5632 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.4242, allocations: 0 / 0.5632 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.4242, allocations: 4 kB / 0.5632 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.4242, allocations: 0 / 0.5632 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.4244, allocations: 35.91 kB / 0.5632 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005475/0.4249, allocations: 349.4 kB / 0.5635 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.4252, allocations: 109.1 kB / 0.5637 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.92e-05/0.4253, allocations: 33.7 kB / 0.5637 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.4253, allocations: 4 kB / 0.5637 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002663/0.4256, allocations: 117 kB / 0.5638 GB, free: 0.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.4256, allocations: 0 / 0.5638 GB, free: 0.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005691/0.4262, allocations: 197.2 kB / 0.564 GB, free: 480 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/0.4263, allocations: 85.05 kB / 0.5641 GB, free: 376 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.4276, allocations: 1.058 MB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.4276, allocations: 33.7 kB / 0.5651 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.4279, allocations: 232.1 kB / 0.5654 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/0.4279, allocations: 23.81 kB / 0.5654 GB, free: 15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.665e-05/0.428, allocations: 33.7 kB / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002288/0.4282, allocations: 366.8 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.26e-05/0.4283, allocations: 31.98 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.4284, allocations: 63.41 kB / 0.5658 GB, free: 14.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.4286, allocations: 87.36 kB / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.4286, allocations: 3.938 kB / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003423/0.4289, allocations: 173.8 kB / 0.5661 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.429, allocations: 16 kB / 0.5661 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.429, allocations: 0 / 0.5661 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.429, allocations: 4 kB / 0.5661 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.4291, allocations: 23.92 kB / 0.5661 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.4291, allocations: 0 / 0.5661 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.4292, allocations: 7.938 kB / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.4293, allocations: 8 kB / 0.5662 GB, free: 14.16 MB / 414.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000254/0.4295, allocations: 229.6 kB / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.648e-05/0.4296, allocations: 55.62 kB / 0.5664 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004095/0.43, allocations: 201.9 kB / 0.5666 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.43, allocations: 7.938 kB / 0.5666 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.43, allocations: 0 / 0.5666 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.43, allocations: 3.984 kB / 0.5666 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.4304, allocations: 324.5 kB / 0.5669 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.4304, allocations: 0 / 0.5669 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.55e-05/0.4304, allocations: 12 kB / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.4304, allocations: 0 / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.4304, allocations: 3.984 kB / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.4304, allocations: 8 kB / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4304, allocations: 0 / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.4308, allocations: 217.4 kB / 0.5672 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.4309, allocations: 67.59 kB / 0.5672 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.431, allocations: 4 kB / 0.5672 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-05/0.4311, allocations: 7.984 kB / 0.5673 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.4311, allocations: 12.11 kB / 0.5673 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.4311, allocations: 12 kB / 0.5673 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000962/0.4321, allocations: 0.7839 MB / 0.568 GB, free: 12.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4321, allocations: 0 / 0.568 GB, free: 12.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000294/0.4324, allocations: 40 kB / 0.5681 GB, free: 12.11 MB / 414.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.00227/0.4347, allocations: 1.065 MB / 0.5691 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002811/0.4349, allocations: 79.89 kB / 0.5692 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4349, allocations: 0 / 0.5692 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.4351, allocations: 40.3 kB / 0.5692 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.4355, allocations: 74.27 kB / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006959/0.4425, allocations: 4.571 MB / 0.5738 GB, free: 6.309 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005833/0.443, allocations: 0.8545 MB / 0.5746 GB, free: 5.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001729/0.4432, allocations: 62.92 kB / 0.5747 GB, free: 5.363 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.4434, allocations: 151.4 kB / 0.5748 GB, free: 5.219 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4434, allocations: 0 / 0.5748 GB, free: 5.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0446/0.488, allocations: 9.381 MB / 0.584 GB, free: 11.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.2, allocations: 8.062 kB / 0.584 GB, free: 11.91 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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: 15.450437274994329]