Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001332/0.001332, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001499/0.001499, allocations: 214 kB / 24.52 MB, free: 3.914 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.494/1.494, allocations: 230.6 MB / 258.3 MB, free: 7.762 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.2329/0.2329, allocations: 44.92 MB / 359.6 MB, free: 6.062 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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",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.002515/0.002515, allocations: 67.91 kB / 0.4938 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3532, allocations: 65.47 MB / 0.5578 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003361/0.3565, allocations: 1.631 MB / 0.5593 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.3579, allocations: 0.5387 MB / 0.5599 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.153e-05/0.358, allocations: 0 / 0.5599 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.3584, allocations: 99.67 kB / 0.56 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003773/0.3587, allocations: 115.6 kB / 0.5601 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.3591, allocations: 123.4 kB / 0.5602 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.3593, allocations: 107.7 kB / 0.5603 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.3594, allocations: 21.81 kB / 0.5603 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.544e-05/0.3595, allocations: 43.84 kB / 0.5604 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.3596, allocations: 71.73 kB / 0.5604 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.3597, allocations: 8 kB / 0.5604 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.3598, allocations: 51.97 kB / 0.5605 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.692e-05/0.3598, allocations: 23.86 kB / 0.5605 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.872e-05/0.3599, allocations: 31.75 kB / 0.5605 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.3601, allocations: 131.4 kB / 0.5607 GB, free: 4.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.3601, allocations: 3.984 kB / 0.5607 GB, free: 4.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3601, allocations: 3.938 kB / 0.5607 GB, free: 4.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3601, allocations: 0 / 0.5607 GB, free: 4.559 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.0005238/0.3606, allocations: 365.4 kB / 0.561 GB, free: 4.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3607, allocations: 12.03 kB / 0.561 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.428e-05/0.3607, allocations: 8.188 kB / 0.561 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.3607, allocations: 38.73 kB / 0.5611 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.3608, allocations: 12.84 kB / 0.5611 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.361, allocations: 158.8 kB / 0.5612 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.361, allocations: 4.375 kB / 0.5612 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.361, allocations: 12.12 kB / 0.5613 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.3612, allocations: 73.59 kB / 0.5613 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.3612, allocations: 7.953 kB / 0.5613 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.3612, allocations: 0 / 0.5613 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3612, allocations: 0 / 0.5613 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.3614, allocations: 47.95 kB / 0.5614 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005232/0.3619, allocations: 307.8 kB / 0.5617 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.3621, allocations: 62.55 kB / 0.5617 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.148e-05/0.3621, allocations: 24.84 kB / 0.5618 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.3622, allocations: 0 / 0.5618 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.3622, allocations: 30.56 kB / 0.5618 GB, free: 3.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.3622, allocations: 0 / 0.5618 GB, free: 3.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001364/0.3636, allocations: 353.6 kB / 0.5621 GB, free: 2.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.3636, allocations: 51.41 kB / 0.5622 GB, free: 2.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.3639, allocations: 239.5 kB / 0.5624 GB, free: 2.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.3639, allocations: 25.7 kB / 0.5624 GB, free: 2.586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.613e-05/0.364, allocations: 112.1 kB / 0.5625 GB, free: 2.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.61e-05/0.3641, allocations: 47.58 kB / 0.5626 GB, free: 2.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-05/0.3641, allocations: 33.7 kB / 0.5626 GB, free: 2.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3643, allocations: 326.8 kB / 0.5629 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.3644, allocations: 43.97 kB / 0.563 GB, free: 2.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.3646, allocations: 43.97 kB / 0.563 GB, free: 1.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.3648, allocations: 112.6 kB / 0.5631 GB, free: 1.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3648, allocations: 0 / 0.5631 GB, free: 1.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000317/0.3651, allocations: 165.5 kB / 0.5633 GB, free: 1.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.3652, allocations: 18.53 kB / 0.5633 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3652, allocations: 0 / 0.5633 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.22e-05/0.3652, allocations: 0 / 0.5633 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.3653, allocations: 23.98 kB / 0.5633 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3653, allocations: 0 / 0.5633 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.3654, allocations: 8 kB / 0.5633 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.3654, allocations: 4 kB / 0.5633 GB, free: 1.645 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.0001307/0.3655, allocations: 141.8 kB / 0.5635 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.3656, allocations: 23.77 kB / 0.5635 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003969/0.366, allocations: 187 kB / 0.5637 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.366, allocations: 4 kB / 0.5637 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.366, allocations: 0 / 0.5637 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.366, allocations: 0 / 0.5637 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007021/0.3667, allocations: 458.3 kB / 0.5641 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3667, allocations: 0 / 0.5641 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.478e-05/0.3668, allocations: 27.92 kB / 0.5641 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3668, allocations: 8.031 kB / 0.5641 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.3668, allocations: 0 / 0.5641 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3668, allocations: 3.938 kB / 0.5641 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3668, allocations: 4 kB / 0.5641 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.3671, allocations: 256.1 kB / 0.5644 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/0.3672, allocations: 19.89 kB / 0.5644 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.3672, allocations: 4 kB / 0.5644 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.3673, allocations: 4 kB / 0.5644 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.3673, allocations: 19.97 kB / 0.5644 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.3673, allocations: 8 kB / 0.5644 GB, free: 420 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001717/0.3675, allocations: 181.1 kB / 0.5646 GB, free: 240 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3675, allocations: 0 / 0.5646 GB, free: 240 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.3678, allocations: 35.88 kB / 0.5646 GB, free: 204 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.002409/0.3702, allocations: 1.173 MB / 0.5658 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003021/0.3705, allocations: 99.94 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3705, allocations: 0 / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.3706, allocations: 63.89 kB / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.371, allocations: 28.5 kB / 0.566 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/0.3735, allocations: 1.92 MB / 0.5678 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.3736, allocations: 116.9 kB / 0.568 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.183e-05/0.3737, allocations: 32.41 kB / 0.568 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.764e-05/0.3738, allocations: 43.42 kB / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3738, allocations: 0 / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02405/0.3979, allocations: 3.868 MB / 0.5718 GB, free: 9.004 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.03, allocations: 14.03 kB / 0.5718 GB, free: 9 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.206776645965874]