Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.001704/0.001704, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001823/0.001823, allocations: 209.6 kB / 23.73 MB, free: 4.523 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.59/1.59, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2456/0.2456, allocations: 46.95 MB / 360.9 MB, free: 4.066 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 63.91 kB / 0.4961 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3568, allocations: 66.04 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003167/0.3599, allocations: 1.633 MB / 0.5622 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.361, allocations: 0.5309 MB / 0.5627 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.488e-05/0.3611, allocations: 4 kB / 0.5627 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.3614, allocations: 99.67 kB / 0.5628 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.3617, allocations: 103.6 kB / 0.5629 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.362, allocations: 107.2 kB / 0.563 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.3621, allocations: 95.73 kB / 0.5631 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.3623, allocations: 21.81 kB / 0.5631 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.385e-05/0.3623, allocations: 47.83 kB / 0.5632 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.3625, allocations: 63.75 kB / 0.5632 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.3625, allocations: 8 kB / 0.5633 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.3626, allocations: 51.97 kB / 0.5633 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.054e-05/0.3627, allocations: 23.92 kB / 0.5633 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.729e-05/0.3627, allocations: 31.73 kB / 0.5634 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.3629, allocations: 131.4 kB / 0.5635 GB, free: 1.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3629, allocations: 0 / 0.5635 GB, free: 1.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3629, allocations: 0 / 0.5635 GB, free: 1.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.3629, allocations: 0 / 0.5635 GB, free: 1.289 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005729/0.3635, allocations: 361.5 kB / 0.5638 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.3636, allocations: 16.02 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.883e-05/0.3636, allocations: 34.75 kB / 0.5639 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.13e-05/0.3637, allocations: 20.84 kB / 0.5639 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.3639, allocations: 146.2 kB / 0.564 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.3639, allocations: 4.375 kB / 0.564 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.3639, allocations: 8.375 kB / 0.564 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.3641, allocations: 69.55 kB / 0.5641 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.3641, allocations: 7.953 kB / 0.5641 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.3641, allocations: 0 / 0.5641 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.3641, allocations: 11.94 kB / 0.5641 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.3643, allocations: 39.95 kB / 0.5642 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004903/0.3648, allocations: 291.8 kB / 0.5645 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.3649, allocations: 70.47 kB / 0.5645 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.481e-05/0.365, allocations: 24.84 kB / 0.5645 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.365, allocations: 0 / 0.5645 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.365, allocations: 34.56 kB / 0.5646 GB, free: 40 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 3.246e-06/0.365, allocations: 3.984 kB / 0.5646 GB, free: 36 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001135/0.3662, allocations: 313.2 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.3662, allocations: 59.28 kB / 0.5649 GB, free: 15.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.3665, allocations: 239.5 kB / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.3665, allocations: 25.7 kB / 0.5652 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.489e-05/0.3666, allocations: 116 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.3667, allocations: 43.64 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.03e-05/0.3667, allocations: 25.72 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3669, allocations: 326.8 kB / 0.5657 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.367, allocations: 35.98 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.324e-05/0.3671, allocations: 43.97 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.3673, allocations: 84.83 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3673, allocations: 0 / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000274/0.3676, allocations: 133.7 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3676, allocations: 15.88 kB / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3676, allocations: 0 / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3676, allocations: 7.938 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.3678, allocations: 27.98 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.3678, allocations: 4 kB / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.3678, allocations: 3.984 kB / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.3678, allocations: 4 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001298/0.368, allocations: 134.4 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.368, allocations: 11.91 kB / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003931/0.3684, allocations: 179.5 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.3684, allocations: 4 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3684, allocations: 4 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3684, allocations: 0 / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006742/0.3691, allocations: 442.1 kB / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3691, allocations: 0 / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.923e-05/0.3692, allocations: 27.92 kB / 0.5668 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3692, allocations: 0 / 0.5668 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.3692, allocations: 8.031 kB / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3692, allocations: 3.938 kB / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3692, allocations: 0 / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.3695, allocations: 244.2 kB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.3696, allocations: 11.91 kB / 0.567 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.3696, allocations: 8 kB / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.126e-05/0.3697, allocations: 7.984 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.3697, allocations: 7.984 kB / 0.5671 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.3697, allocations: 11.94 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001673/0.3699, allocations: 185.1 kB / 0.5673 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3699, allocations: 0 / 0.5673 GB, free: 13.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.3702, allocations: 28 kB / 0.5673 GB, free: 13.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.002464/0.3727, allocations: 1.158 MB / 0.5684 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002877/0.3729, allocations: 91.89 kB / 0.5685 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3729, allocations: 0 / 0.5685 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.3731, allocations: 55.84 kB / 0.5686 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.3735, allocations: 28.27 kB / 0.5686 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.3759, allocations: 1.846 MB / 0.5704 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.3761, allocations: 105.5 kB / 0.5705 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.156e-05/0.3761, allocations: 28.41 kB / 0.5705 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.479e-05/0.3762, allocations: 43.42 kB / 0.5706 GB, free: 9.848 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3762, allocations: 0 / 0.5706 GB, free: 9.848 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03152/0.4077, allocations: 4.124 MB / 0.5746 GB, free: 5.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.41, allocations: 6.344 kB / 0.5746 GB, free: 5.766 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.639126997994026]