Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001358/0.001358, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001535/0.001535, allocations: 203.4 kB / 23.73 MB, free: 4.379 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2414/0.2414, allocations: 46.96 MB / 360.9 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 59.91 kB / 0.4961 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3554, allocations: 66.04 MB / 0.5606 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003486/0.3589, allocations: 1.643 MB / 0.5622 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.36, allocations: 0.5388 MB / 0.5627 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.218e-05/0.3601, allocations: 0 / 0.5627 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.3604, allocations: 99.67 kB / 0.5628 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003406/0.3608, allocations: 115.6 kB / 0.5629 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.3611, allocations: 119.2 kB / 0.5631 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.3613, allocations: 107.7 kB / 0.5632 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.3615, allocations: 21.81 kB / 0.5632 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.737e-05/0.3615, allocations: 43.84 kB / 0.5632 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.3617, allocations: 71.78 kB / 0.5633 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.3617, allocations: 8 kB / 0.5633 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.88e-05/0.3618, allocations: 40 kB / 0.5633 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.309e-05/0.3619, allocations: 35.83 kB / 0.5634 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.467e-05/0.3619, allocations: 31.81 kB / 0.5634 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.3621, allocations: 135.3 kB / 0.5635 GB, free: 1.211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3621, allocations: 0 / 0.5635 GB, free: 1.211 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3621, allocations: 4 kB / 0.5635 GB, free: 1.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3621, allocations: 0 / 0.5635 GB, free: 1.207 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005426/0.3627, allocations: 357.5 kB / 0.5639 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3627, allocations: 8.031 kB / 0.5639 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/0.3628, allocations: 46.73 kB / 0.5639 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.013e-05/0.3628, allocations: 16.84 kB / 0.5639 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.363, allocations: 162.2 kB / 0.5641 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.363, allocations: 4.375 kB / 0.5641 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.3631, allocations: 8.375 kB / 0.5641 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.3633, allocations: 73.59 kB / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.3633, allocations: 3.953 kB / 0.5642 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3633, allocations: 4 kB / 0.5642 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3633, allocations: 3.938 kB / 0.5642 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.3635, allocations: 39.97 kB / 0.5642 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.364, allocations: 311.8 kB / 0.5645 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.3641, allocations: 62.55 kB / 0.5646 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.365e-05/0.3642, allocations: 20.89 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.3642, allocations: 7.938 kB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.3642, allocations: 30.56 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3642, allocations: 0 / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001162/0.3654, allocations: 345.7 kB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.3655, allocations: 55.41 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.3657, allocations: 235.5 kB / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.3657, allocations: 29.7 kB / 0.5653 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.614e-05/0.3658, allocations: 112.1 kB / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.3658, allocations: 47.58 kB / 0.5654 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.3659, allocations: 25.72 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.366, allocations: 334.8 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.3662, allocations: 43.97 kB / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.761e-05/0.3662, allocations: 43.97 kB / 0.5659 GB, free: 14.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.3665, allocations: 108.8 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3665, allocations: 0 / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002939/0.3668, allocations: 161.2 kB / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3668, allocations: 8 kB / 0.5661 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.3668, allocations: 7.938 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3668, allocations: 0 / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.3669, allocations: 31.91 kB / 0.5662 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3669, allocations: 4.219 kB / 0.5662 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.013e-05/0.367, allocations: 8 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.367, allocations: 4 kB / 0.5662 GB, free: 14.3 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.0001118/0.3671, allocations: 138.3 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.3672, allocations: 11.91 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004059/0.3676, allocations: 202.9 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3676, allocations: 3.938 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3676, allocations: 0 / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3676, allocations: 4 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000687/0.3683, allocations: 458.2 kB / 0.567 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3683, allocations: 0 / 0.567 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.562e-05/0.3684, allocations: 23.98 kB / 0.567 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3684, allocations: 4.031 kB / 0.567 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.3684, allocations: 4 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3684, allocations: 3.984 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3684, allocations: 0 / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.3687, allocations: 260.1 kB / 0.5672 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.982e-05/0.3687, allocations: 11.91 kB / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.3688, allocations: 8 kB / 0.5673 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.852e-05/0.3688, allocations: 7.984 kB / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.3689, allocations: 11.92 kB / 0.5673 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.3689, allocations: 12 kB / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000169/0.3691, allocations: 181.1 kB / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3691, allocations: 0 / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.3694, allocations: 27.94 kB / 0.5675 GB, free: 12.86 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.002375/0.3717, allocations: 1.169 MB / 0.5686 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000304/0.372, allocations: 115.8 kB / 0.5687 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.372, allocations: 0 / 0.5687 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.3722, allocations: 59.91 kB / 0.5688 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.3725, allocations: 30.7 kB / 0.5688 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.3749, allocations: 1.92 MB / 0.5707 GB, free: 9.672 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.3751, allocations: 109.5 kB / 0.5708 GB, free: 9.547 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.115e-05/0.3751, allocations: 36.45 kB / 0.5708 GB, free: 9.512 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.394e-05/0.3752, allocations: 43.42 kB / 0.5709 GB, free: 9.473 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3752, allocations: 4 kB / 0.5709 GB, free: 9.469 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.4068, allocations: 4.211 MB / 0.575 GB, free: 5.301 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.15, allocations: 9.594 kB / 0.575 GB, free: 5.297 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.20801378399483]