Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001565/0.001565, 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.002039/0.002039, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.557/1.557, allocations: 230.6 MB / 257.5 MB, free: 8 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.2397/0.2397, allocations: 44.91 MB / 358.8 MB, free: 6.266 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.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",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.002044/0.002044, allocations: 71.89 kB / 0.4931 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3892, allocations: 65.46 MB / 0.5571 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003677/0.3929, allocations: 1.841 MB / 0.5589 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.3951, allocations: 1.116 MB / 0.56 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.3952, allocations: 3.938 kB / 0.56 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006512/0.3958, allocations: 315.3 kB / 0.5603 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005329/0.3963, allocations: 251.2 kB / 0.5605 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.3967, allocations: 111.6 kB / 0.5606 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003821/0.397, allocations: 271.2 kB / 0.5609 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.162e-05/0.3971, allocations: 5.812 kB / 0.5609 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.3973, allocations: 139.5 kB / 0.561 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.3976, allocations: 219.5 kB / 0.5612 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.3976, allocations: 8 kB / 0.5612 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.3977, allocations: 47.98 kB / 0.5613 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.3979, allocations: 143.5 kB / 0.5614 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.398, allocations: 150.8 kB / 0.5616 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004652/0.3985, allocations: 380 kB / 0.5619 GB, free: 2.754 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3985, allocations: 0 / 0.5619 GB, free: 2.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3985, allocations: 4 kB / 0.5619 GB, free: 2.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3985, 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.00103/0.3995, allocations: 0.6809 MB / 0.5626 GB, free: 2.035 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.3996, allocations: 11.97 kB / 0.5626 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.398e-05/0.3996, allocations: 38.75 kB / 0.5626 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.034e-05/0.3997, allocations: 48.61 kB / 0.5627 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007056/0.4004, allocations: 398.5 kB / 0.5631 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.4004, allocations: 384 / 0.5631 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.4005, allocations: 11.94 kB / 0.5631 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.4007, allocations: 95.3 kB / 0.5632 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4007, allocations: 0 / 0.5632 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.4007, allocations: 8 kB / 0.5632 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4007, allocations: 0 / 0.5632 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.4008, allocations: 27.97 kB / 0.5632 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.4013, allocations: 357.4 kB / 0.5635 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.4016, allocations: 109.1 kB / 0.5636 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.554e-05/0.4017, allocations: 37.7 kB / 0.5637 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.4017, allocations: 3.984 kB / 0.5637 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/0.4019, allocations: 113 kB / 0.5638 GB, free: 0.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.4019, allocations: 0 / 0.5638 GB, free: 0.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004884/0.4024, allocations: 197.2 kB / 0.564 GB, free: 480 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.4025, allocations: 77.11 kB / 0.5641 GB, free: 384 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.4036, allocations: 1.061 MB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.4037, allocations: 33.7 kB / 0.5651 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.4039, allocations: 236.1 kB / 0.5654 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.653e-05/0.4039, allocations: 27.8 kB / 0.5654 GB, free: 15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.404, allocations: 29.72 kB / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.4042, allocations: 362.8 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.378e-05/0.4043, allocations: 35.97 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.4044, allocations: 59.42 kB / 0.5658 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.4046, allocations: 91.34 kB / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.4046, 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.0003038/0.4049, allocations: 169.8 kB / 0.5661 GB, free: 14.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.4049, allocations: 12.06 kB / 0.5661 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.4049, allocations: 4 kB / 0.5661 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4049, allocations: 3.938 kB / 0.5661 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.405, allocations: 23.98 kB / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.405, allocations: 0 / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.4051, allocations: 15.92 kB / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.4052, allocations: 4 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.0002308/0.4054, allocations: 225.7 kB / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.733e-05/0.4055, allocations: 59.62 kB / 0.5664 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003913/0.4058, allocations: 197.8 kB / 0.5666 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.4058, allocations: 7.984 kB / 0.5666 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4059, allocations: 0 / 0.5666 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4059, allocations: 0 / 0.5666 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003449/0.4062, allocations: 324.5 kB / 0.5669 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4062, allocations: 0 / 0.5669 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.417e-05/0.4062, allocations: 8 kB / 0.5669 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.217e-06/0.4063, allocations: 4 kB / 0.5669 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.4063, allocations: 7.984 kB / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.4063, allocations: 4 kB / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4063, allocations: 0 / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.4066, allocations: 217.4 kB / 0.5672 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.4068, allocations: 67.59 kB / 0.5672 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/0.4068, allocations: 4 kB / 0.5672 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.551e-05/0.4069, allocations: 11.98 kB / 0.5672 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.4069, allocations: 15.92 kB / 0.5673 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.407, allocations: 8.125 kB / 0.5673 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008851/0.4078, allocations: 0.7839 MB / 0.568 GB, free: 12.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4078, allocations: 0 / 0.568 GB, free: 12.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.4081, allocations: 47.98 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.002085/0.4102, allocations: 1.056 MB / 0.5691 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.4105, allocations: 79.89 kB / 0.5692 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4105, allocations: 0 / 0.5692 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.4106, allocations: 44.28 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.0004402/0.411, allocations: 79.52 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.006341/0.4174, allocations: 4.571 MB / 0.5738 GB, free: 6.305 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006608/0.418, allocations: 0.8468 MB / 0.5746 GB, free: 5.434 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001674/0.4182, allocations: 62.94 kB / 0.5747 GB, free: 5.367 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.4184, allocations: 155.4 kB / 0.5748 GB, free: 5.219 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4184, allocations: 0 / 0.5748 GB, free: 5.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03991/0.4583, allocations: 9.379 MB / 0.584 GB, free: 11.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.05, allocations: 11.81 kB / 0.584 GB, free: 11.91 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.294592617079616]