Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001814/0.001814, allocations: 105.1 kB / 21.21 MB, free: 0.6484 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.002423/0.002423, allocations: 212.6 kB / 24.51 MB, free: 3.938 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.522/1.522, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2305/0.2305, allocations: 44.94 MB / 359.6 MB, free: 6.066 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.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="cs",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.00214/0.00214, allocations: 67.89 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3583, allocations: 65.46 MB / 0.5577 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003478/0.3617, allocations: 1.64 MB / 0.5593 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.363, allocations: 0.5232 MB / 0.5599 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.35e-05/0.363, allocations: 7.938 kB / 0.5599 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.3634, allocations: 99.67 kB / 0.56 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003789/0.3637, allocations: 115.6 kB / 0.5601 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.3641, allocations: 91.7 kB / 0.5602 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.3643, allocations: 99.73 kB / 0.5603 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.3644, allocations: 21.81 kB / 0.5603 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.596e-05/0.3645, allocations: 47.83 kB / 0.5603 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.3646, allocations: 67.8 kB / 0.5604 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.3646, allocations: 4 kB / 0.5604 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.3647, allocations: 47.98 kB / 0.5604 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.098e-05/0.3648, allocations: 23.86 kB / 0.5605 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.41e-05/0.3648, allocations: 31.8 kB / 0.5605 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.3651, allocations: 131.3 kB / 0.5606 GB, free: 4.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3651, allocations: 0 / 0.5606 GB, free: 4.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3651, allocations: 0 / 0.5606 GB, free: 4.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3651, allocations: 4 kB / 0.5606 GB, free: 4.602 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.0005629/0.3657, allocations: 357.5 kB / 0.561 GB, free: 4.223 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3657, allocations: 12.03 kB / 0.561 GB, free: 4.211 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.416e-05/0.3657, allocations: 192 / 0.561 GB, free: 4.211 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/0.3658, allocations: 42.73 kB / 0.561 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.3658, allocations: 16.84 kB / 0.561 GB, free: 4.145 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.366, allocations: 158.7 kB / 0.5612 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.366, allocations: 8.375 kB / 0.5612 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.3661, allocations: 4.125 kB / 0.5612 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.3662, allocations: 69.61 kB / 0.5613 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.3663, allocations: 11.95 kB / 0.5613 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3663, allocations: 0 / 0.5613 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.3663, allocations: 0 / 0.5613 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.3664, allocations: 43.95 kB / 0.5613 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004608/0.3669, allocations: 287.8 kB / 0.5616 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.367, allocations: 62.55 kB / 0.5616 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.841e-05/0.3671, allocations: 20.86 kB / 0.5617 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.3671, allocations: 3.984 kB / 0.5617 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.3671, allocations: 38.5 kB / 0.5617 GB, free: 3.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.3672, allocations: 4 kB / 0.5617 GB, free: 3.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.00114/0.3683, allocations: 305.7 kB / 0.562 GB, free: 3.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.3683, allocations: 55.41 kB / 0.5621 GB, free: 2.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.3686, allocations: 239.5 kB / 0.5623 GB, free: 2.727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.3687, allocations: 37.7 kB / 0.5623 GB, free: 2.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.73e-05/0.3687, allocations: 112.1 kB / 0.5624 GB, free: 2.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.132e-05/0.3688, allocations: 51.56 kB / 0.5625 GB, free: 2.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.3688, allocations: 25.72 kB / 0.5625 GB, free: 2.488 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.369, allocations: 330.8 kB / 0.5628 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-05/0.3691, allocations: 35.97 kB / 0.5628 GB, free: 2.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.604e-05/0.3692, allocations: 35.73 kB / 0.5629 GB, free: 2.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.3694, allocations: 92.77 kB / 0.563 GB, free: 1.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3694, allocations: 4 kB / 0.563 GB, free: 1.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002639/0.3697, allocations: 141.5 kB / 0.5631 GB, free: 1.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3697, allocations: 6.344 kB / 0.5631 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3697, allocations: 7.938 kB / 0.5631 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3697, allocations: 0 / 0.5631 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.3698, allocations: 23.98 kB / 0.5631 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3698, allocations: 3.938 kB / 0.5631 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.3699, allocations: 4 kB / 0.5632 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.3699, allocations: 12 kB / 0.5632 GB, free: 1.793 MB / 398.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.0001137/0.37, allocations: 133.8 kB / 0.5633 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.37, allocations: 15.91 kB / 0.5633 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003678/0.3704, allocations: 167 kB / 0.5635 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3704, allocations: 0 / 0.5635 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3704, allocations: 4 kB / 0.5635 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3704, allocations: 3.938 kB / 0.5635 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006396/0.3711, allocations: 442.1 kB / 0.5639 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.3711, allocations: 4 kB / 0.5639 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.298e-05/0.3712, allocations: 23.98 kB / 0.5639 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3712, allocations: 0 / 0.5639 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.3712, allocations: 4 kB / 0.5639 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3712, allocations: 4 kB / 0.5639 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3712, allocations: 0 / 0.5639 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.3715, allocations: 251.9 kB / 0.5642 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.018e-05/0.3715, allocations: 11.94 kB / 0.5642 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.3716, allocations: 4 kB / 0.5642 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.3716, allocations: 8 kB / 0.5642 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.3717, allocations: 7.984 kB / 0.5642 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.3717, allocations: 7.984 kB / 0.5642 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001715/0.3718, allocations: 185.1 kB / 0.5644 GB, free: 468 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3718, allocations: 0 / 0.5644 GB, free: 468 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.3721, allocations: 23.98 kB / 0.5644 GB, free: 444 kB / 398.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.00244/0.3746, allocations: 1.174 MB / 0.5656 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002811/0.3748, allocations: 95.88 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3748, allocations: 0 / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.3749, allocations: 47.92 kB / 0.5657 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.3754, allocations: 23.73 kB / 0.5657 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.3777, allocations: 1.847 MB / 0.5675 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.3778, allocations: 116.9 kB / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.393e-05/0.3779, allocations: 16.5 kB / 0.5676 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.104e-05/0.378, allocations: 43.41 kB / 0.5677 GB, free: 13.16 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.378, allocations: 0 / 0.5677 GB, free: 13.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.4027, allocations: 3.772 MB / 0.5714 GB, free: 9.441 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.96, allocations: 6.297 kB / 0.5714 GB, free: 9.438 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 15.225204896996729]