Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.002029/0.002029, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002572/0.002572, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.532/1.532, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.2274/0.2274, allocations: 44.91 MB / 359.6 MB, free: 6.285 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.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",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.002013/0.002013, allocations: 67.91 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3616, allocations: 65.47 MB / 0.5578 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.003135/0.3648, allocations: 1.638 MB / 0.5594 GB, free: 6.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.3658, allocations: 0.5582 MB / 0.56 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.639e-05/0.3659, allocations: 11.94 kB / 0.56 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.3661, allocations: 71.77 kB / 0.56 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002911/0.3664, allocations: 103.6 kB / 0.5601 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.3667, allocations: 107.7 kB / 0.5602 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.3669, allocations: 91.73 kB / 0.5603 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.777e-05/0.367, allocations: 9.828 kB / 0.5603 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.107e-05/0.367, allocations: 43.83 kB / 0.5604 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.3672, allocations: 67.73 kB / 0.5604 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.3672, allocations: 8 kB / 0.5605 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.031e-05/0.3673, allocations: 40 kB / 0.5605 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.3673, allocations: 23.86 kB / 0.5605 GB, free: 5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.618e-05/0.3674, allocations: 31.73 kB / 0.5605 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.3676, allocations: 107.5 kB / 0.5606 GB, free: 4.863 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3676, allocations: 0 / 0.5606 GB, free: 4.863 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3676, allocations: 3.938 kB / 0.5606 GB, free: 4.859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3676, allocations: 0 / 0.5606 GB, free: 4.859 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004816/0.3681, allocations: 345.6 kB / 0.561 GB, free: 4.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.3681, allocations: 15.97 kB / 0.561 GB, free: 4.477 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.134e-05/0.3681, allocations: 192 / 0.561 GB, free: 4.477 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.301e-05/0.3681, allocations: 38.75 kB / 0.561 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.3682, allocations: 12.84 kB / 0.561 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.3684, allocations: 143 kB / 0.5612 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-06/0.3684, allocations: 384 / 0.5612 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.3684, allocations: 8.125 kB / 0.5612 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.3686, allocations: 57.61 kB / 0.5612 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3686, allocations: 0 / 0.5612 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.3686, allocations: 8 kB / 0.5613 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.3686, allocations: 0 / 0.5613 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.514e-05/0.3687, allocations: 23.98 kB / 0.5613 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.3691, allocations: 275.9 kB / 0.5615 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.3692, allocations: 46.5 kB / 0.5616 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.745e-05/0.3693, allocations: 24.94 kB / 0.5616 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.3693, allocations: 0 / 0.5616 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.3693, allocations: 30.56 kB / 0.5616 GB, free: 3.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.3693, allocations: 0 / 0.5616 GB, free: 3.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009328/0.3702, allocations: 245.5 kB / 0.5619 GB, free: 3.469 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.3703, allocations: 59.34 kB / 0.5619 GB, free: 3.398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.3705, allocations: 214.3 kB / 0.5621 GB, free: 3.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3705, allocations: 25.7 kB / 0.5622 GB, free: 3.148 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/0.3706, allocations: 104.1 kB / 0.5623 GB, free: 3.043 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.3706, allocations: 31.81 kB / 0.5623 GB, free: 3.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.3706, allocations: 25.7 kB / 0.5623 GB, free: 2.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3708, allocations: 330.8 kB / 0.5626 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.855e-05/0.3709, allocations: 23.98 kB / 0.5626 GB, free: 2.625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.209e-05/0.371, allocations: 35.91 kB / 0.5627 GB, free: 2.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.3711, allocations: 68.83 kB / 0.5627 GB, free: 2.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3711, allocations: 0 / 0.5627 GB, free: 2.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002352/0.3714, allocations: 109.6 kB / 0.5629 GB, free: 2.406 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.3714, allocations: 11.94 kB / 0.5629 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.3714, allocations: 11.92 kB / 0.5629 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3714, allocations: 0 / 0.5629 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.793e-05/0.3715, allocations: 12 kB / 0.5629 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3715, allocations: 8.188 kB / 0.5629 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.583e-05/0.3715, allocations: 7.984 kB / 0.5629 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.3716, allocations: 4 kB / 0.5629 GB, free: 2.352 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 (8): * Single equations (assignments): 8 * 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.0001012/0.3717, allocations: 125.8 kB / 0.563 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.3717, allocations: 19.91 kB / 0.563 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.372, allocations: 135 kB / 0.5632 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.372, allocations: 0 / 0.5632 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.372, allocations: 7.938 kB / 0.5632 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.372, allocations: 0 / 0.5632 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005893/0.3726, allocations: 386.4 kB / 0.5635 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.3726, allocations: 11.95 kB / 0.5636 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.245e-05/0.3727, allocations: 19.94 kB / 0.5636 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3727, allocations: 0 / 0.5636 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3727, allocations: 3.984 kB / 0.5636 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.3727, allocations: 4 kB / 0.5636 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3727, allocations: 0 / 0.5636 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.373, allocations: 212.3 kB / 0.5638 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.373, allocations: 15.84 kB / 0.5638 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.373, allocations: 3.938 kB / 0.5638 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.882e-05/0.3731, allocations: 11.98 kB / 0.5638 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.3731, allocations: 7.984 kB / 0.5638 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.3732, allocations: 0 / 0.5638 GB, free: 1.309 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001771/0.3733, allocations: 164.2 kB / 0.564 GB, free: 1.148 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3733, allocations: 0 / 0.564 GB, free: 1.148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.3736, allocations: 23.94 kB / 0.564 GB, free: 1.125 MB / 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 (8): * Single equations (assignments): 8 * 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.002224/0.3758, allocations: 1.106 MB / 0.5651 GB, free: 180 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000249/0.3761, allocations: 71.94 kB / 0.5652 GB, free: 108 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3761, allocations: 0 / 0.5652 GB, free: 108 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.3762, allocations: 39.91 kB / 0.5652 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.3766, allocations: 24.25 kB / 0.5652 GB, free: 48 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.3787, allocations: 1.722 MB / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.379, allocations: 0.7158 MB / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.714e-05/0.3791, allocations: 16.66 kB / 0.5676 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.653e-05/0.3792, allocations: 35.42 kB / 0.5676 GB, free: 13.45 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3792, allocations: 0 / 0.5676 GB, free: 13.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.4018, allocations: 3.377 MB / 0.5709 GB, free: 10.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.72, allocations: 13.23 kB / 0.571 GB, free: 10.14 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.92592368304031]