Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001765/0.001765, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00158/0.00158, allocations: 214.1 kB / 24.52 MB, free: 3.941 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.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2207/0.2207, allocations: 44.92 MB / 359.6 MB, free: 6.07 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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",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.00207/0.00207, allocations: 68.09 kB / 0.4938 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3554, allocations: 65.47 MB / 0.5577 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003216/0.3586, allocations: 1.618 MB / 0.5593 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.3597, allocations: 0.5154 MB / 0.5598 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.258e-05/0.3597, allocations: 0 / 0.5598 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002913/0.36, allocations: 75.77 kB / 0.5599 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003646/0.3604, allocations: 107.6 kB / 0.56 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.3607, allocations: 91.75 kB / 0.5601 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.3609, allocations: 83.75 kB / 0.5602 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.361, allocations: 17.75 kB / 0.5602 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.904e-05/0.3611, allocations: 39.84 kB / 0.5602 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.3612, allocations: 67.75 kB / 0.5603 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.3612, allocations: 4 kB / 0.5603 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.3613, allocations: 43.98 kB / 0.5603 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.747e-05/0.3614, allocations: 23.91 kB / 0.5604 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.462e-05/0.3614, allocations: 23.81 kB / 0.5604 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.3617, allocations: 111.4 kB / 0.5605 GB, free: 4.727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3617, allocations: 0 / 0.5605 GB, free: 4.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3617, allocations: 4 kB / 0.5605 GB, free: 4.723 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.3617, allocations: 0 / 0.5605 GB, free: 4.723 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.0005346/0.3622, allocations: 337.6 kB / 0.5608 GB, free: 4.363 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.3623, allocations: 12.03 kB / 0.5608 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.106e-05/0.3623, allocations: 8.172 kB / 0.5608 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/0.3623, allocations: 30.75 kB / 0.5609 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.3624, allocations: 12.84 kB / 0.5609 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.3626, allocations: 143 kB / 0.561 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.3626, allocations: 4.375 kB / 0.561 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.3626, allocations: 8.125 kB / 0.561 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.3628, allocations: 57.61 kB / 0.5611 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3628, allocations: 0 / 0.5611 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.3628, allocations: 4 kB / 0.5611 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3628, allocations: 4 kB / 0.5611 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.3629, allocations: 27.97 kB / 0.5611 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.3633, allocations: 255.9 kB / 0.5614 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.3634, allocations: 38.5 kB / 0.5614 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.363e-05/0.3635, allocations: 20.94 kB / 0.5614 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.3635, allocations: 0 / 0.5614 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.3635, allocations: 34.56 kB / 0.5614 GB, free: 3.609 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.3635, allocations: 0 / 0.5614 GB, free: 3.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009418/0.3645, allocations: 229.3 kB / 0.5617 GB, free: 3.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.3645, allocations: 55.34 kB / 0.5617 GB, free: 3.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.3648, allocations: 210.3 kB / 0.5619 GB, free: 3.098 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.3648, allocations: 29.7 kB / 0.5619 GB, free: 3.062 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.3648, allocations: 104.1 kB / 0.562 GB, free: 2.957 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.3649, allocations: 31.73 kB / 0.5621 GB, free: 2.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.3649, allocations: 29.72 kB / 0.5621 GB, free: 2.891 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3651, allocations: 326.8 kB / 0.5624 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.898e-05/0.3651, allocations: 23.92 kB / 0.5624 GB, free: 2.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.716e-05/0.3652, allocations: 31.98 kB / 0.5625 GB, free: 2.508 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.3654, allocations: 60.97 kB / 0.5625 GB, free: 2.445 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3654, allocations: 0 / 0.5625 GB, free: 2.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001999/0.3656, allocations: 105.5 kB / 0.5626 GB, free: 2.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3656, allocations: 8 kB / 0.5626 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3656, allocations: 4 kB / 0.5626 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3656, allocations: 0 / 0.5626 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.3657, allocations: 24.34 kB / 0.5627 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3657, allocations: 3.938 kB / 0.5627 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.247e-05/0.3657, allocations: 7.984 kB / 0.5627 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.3657, allocations: 4 kB / 0.5627 GB, free: 2.285 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 9.83e-05/0.3658, allocations: 121.8 kB / 0.5628 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.3659, allocations: 15.91 kB / 0.5628 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002792/0.3662, allocations: 119 kB / 0.5629 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3662, allocations: 3.984 kB / 0.5629 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3662, allocations: 3.938 kB / 0.5629 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3662, allocations: 7.984 kB / 0.5629 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/0.3667, allocations: 366.3 kB / 0.5633 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3667, allocations: 3.938 kB / 0.5633 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.161e-05/0.3668, allocations: 19.98 kB / 0.5633 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3668, allocations: 4.031 kB / 0.5633 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.3668, allocations: 4 kB / 0.5633 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3668, allocations: 0 / 0.5633 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3668, allocations: 0 / 0.5633 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.3671, allocations: 204.3 kB / 0.5635 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.3671, allocations: 11.84 kB / 0.5635 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.3671, allocations: 8 kB / 0.5635 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.3672, allocations: 7.984 kB / 0.5635 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.3672, allocations: 0 / 0.5635 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.3672, allocations: 11.98 kB / 0.5636 GB, free: 1.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.3674, allocations: 168.2 kB / 0.5637 GB, free: 1.129 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3674, allocations: 0 / 0.5637 GB, free: 1.129 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002854/0.3677, allocations: 19.94 kB / 0.5637 GB, free: 1.109 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.002298/0.37, allocations: 1.127 MB / 0.5648 GB, free: 176 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.3702, allocations: 63.94 kB / 0.5649 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3702, allocations: 4 kB / 0.5649 GB, free: 108 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.527e-05/0.3703, allocations: 35.92 kB / 0.5649 GB, free: 72 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.3707, allocations: 26.19 kB / 0.565 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.3727, allocations: 1.677 MB / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.571e-05/0.3728, allocations: 88.75 kB / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.469e-05/0.3728, allocations: 28.89 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.074e-05/0.3729, allocations: 35.42 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3729, allocations: 0 / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.3948, allocations: 3.343 MB / 0.57 GB, free: 10.83 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.79, allocations: 13.55 kB / 0.57 GB, free: 10.82 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.926800507004373]