Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.001599/0.001599, allocations: 112.5 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.001705/0.001705, 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.523/1.523, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2213/0.2213, allocations: 44.91 MB / 359.6 MB, free: 6.258 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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29",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.002167/0.002167, allocations: 59.91 kB / 0.4939 GB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3572, allocations: 65.47 MB / 0.5578 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.003164/0.3604, allocations: 1.675 MB / 0.5594 GB, free: 6.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.3615, allocations: 0.5543 MB / 0.56 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.36e-05/0.3615, allocations: 0 / 0.56 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.3618, allocations: 47.69 kB / 0.56 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.3621, allocations: 79.62 kB / 0.5601 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.3624, allocations: 91.75 kB / 0.5602 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.3626, allocations: 95.75 kB / 0.5603 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.3628, allocations: 19.98 kB / 0.5603 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.583e-05/0.3628, allocations: 31.8 kB / 0.5603 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.3629, allocations: 43.83 kB / 0.5604 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.363, allocations: 4 kB / 0.5604 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.3631, allocations: 39.98 kB / 0.5604 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.166e-05/0.3632, allocations: 23.92 kB / 0.5604 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.151e-05/0.3632, allocations: 39.73 kB / 0.5605 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.3634, allocations: 115.4 kB / 0.5606 GB, free: 4.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3634, allocations: 0 / 0.5606 GB, free: 4.883 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3634, allocations: 0 / 0.5606 GB, free: 4.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.3634, allocations: 3.938 kB / 0.5606 GB, free: 4.879 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.0005943/0.364, allocations: 333.7 kB / 0.5609 GB, free: 4.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.3641, allocations: 8.031 kB / 0.5609 GB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.518e-05/0.3641, allocations: 4.188 kB / 0.5609 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.575e-05/0.3642, allocations: 34.75 kB / 0.561 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.3642, allocations: 20.84 kB / 0.561 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.3644, allocations: 144.7 kB / 0.5611 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3644, allocations: 4.375 kB / 0.5611 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.3644, allocations: 12.12 kB / 0.5611 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.3647, allocations: 65.66 kB / 0.5612 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3647, allocations: 4 kB / 0.5612 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.3647, allocations: 0 / 0.5612 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.3647, allocations: 4 kB / 0.5612 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.3648, allocations: 39.91 kB / 0.5612 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.3653, allocations: 299.8 kB / 0.5615 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.3655, allocations: 54.56 kB / 0.5616 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.318e-05/0.3656, allocations: 24.84 kB / 0.5616 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.3656, allocations: 0 / 0.5616 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.3656, allocations: 38.55 kB / 0.5616 GB, free: 3.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.3656, allocations: 0 / 0.5616 GB, free: 3.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001116/0.3667, allocations: 305.6 kB / 0.5619 GB, free: 3.375 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.3668, allocations: 63.41 kB / 0.562 GB, free: 3.301 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.367, allocations: 161.8 kB / 0.5621 GB, free: 3.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.367, allocations: 25.7 kB / 0.5622 GB, free: 3.105 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.3671, allocations: 104.1 kB / 0.5623 GB, free: 3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.707e-05/0.3672, allocations: 43.61 kB / 0.5623 GB, free: 2.957 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.3672, allocations: 29.7 kB / 0.5623 GB, free: 2.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.3674, allocations: 322.8 kB / 0.5626 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.709e-05/0.3675, allocations: 39.92 kB / 0.5627 GB, free: 2.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.246e-05/0.3676, allocations: 43.72 kB / 0.5627 GB, free: 2.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.3678, allocations: 92.77 kB / 0.5628 GB, free: 2.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3678, allocations: 0 / 0.5628 GB, free: 2.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002802/0.3681, allocations: 129.5 kB / 0.5629 GB, free: 2.293 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.3681, allocations: 10.66 kB / 0.5629 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3681, allocations: 112 / 0.5629 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3681, allocations: 3.938 kB / 0.5629 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.3682, allocations: 35.97 kB / 0.563 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.3682, allocations: 0 / 0.563 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.612e-05/0.3683, allocations: 4 kB / 0.563 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.3683, allocations: 4 kB / 0.563 GB, free: 2.238 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.0001099/0.3684, allocations: 129.8 kB / 0.5631 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.3685, allocations: 15.84 kB / 0.5631 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003701/0.3688, allocations: 162.4 kB / 0.5633 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3688, allocations: 4 kB / 0.5633 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3688, allocations: 0 / 0.5633 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3688, allocations: 0 / 0.5633 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006356/0.3695, allocations: 442.1 kB / 0.5637 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3695, allocations: 0 / 0.5637 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.399e-05/0.3696, allocations: 31.98 kB / 0.5637 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3696, allocations: 4.031 kB / 0.5637 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3696, allocations: 0 / 0.5637 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3696, allocations: 4 kB / 0.5637 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3696, allocations: 0 / 0.5637 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.3699, allocations: 236.1 kB / 0.564 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.3699, allocations: 15.89 kB / 0.564 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.37, allocations: 8 kB / 0.564 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.37, allocations: 4 kB / 0.564 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.3701, allocations: 7.984 kB / 0.564 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.3701, allocations: 7.938 kB / 0.564 GB, free: 1.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.3702, allocations: 127.2 kB / 0.5641 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3702, allocations: 0 / 0.5641 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.3705, allocations: 27.98 kB / 0.5642 GB, free: 0.9453 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 (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.002339/0.3728, allocations: 1.126 MB / 0.5653 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002667/0.3731, allocations: 95.83 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3731, allocations: 0 / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.3732, allocations: 47.97 kB / 0.5654 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.3735, allocations: 19.88 kB / 0.5654 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.3759, allocations: 1.676 MB / 0.5671 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.3764, allocations: 0.7118 MB / 0.5678 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.739e-05/0.3765, allocations: 20.42 kB / 0.5678 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.3766, allocations: 39.42 kB / 0.5678 GB, free: 13.26 MB / 414.1 MB Notification: Performance of SimCode: time 1.322e-06/0.3766, allocations: 0 / 0.5678 GB, free: 13.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.3991, allocations: 3.417 MB / 0.5711 GB, free: 9.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.68, allocations: 13.27 kB / 0.5712 GB, free: 9.898 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.927601285977289]