Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001805/0.001805, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002141/0.002141, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.549/1.549, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.2437/0.2437, allocations: 44.9 MB / 359.6 MB, free: 6.281 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.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",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.001991/0.001991, allocations: 59.91 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3563, allocations: 65.48 MB / 0.5578 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.0031/0.3594, allocations: 1.618 MB / 0.5594 GB, free: 6.137 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.3605, allocations: 0.566 MB / 0.5599 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.191e-05/0.3605, allocations: 8 kB / 0.56 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.3608, allocations: 31.78 kB / 0.56 GB, free: 5.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.361, allocations: 71.69 kB / 0.5601 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.3614, allocations: 127.6 kB / 0.5602 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.3615, allocations: 67.78 kB / 0.5602 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.297e-05/0.3616, allocations: 17.75 kB / 0.5603 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.796e-05/0.3617, allocations: 23.92 kB / 0.5603 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.807e-05/0.3618, allocations: 31.84 kB / 0.5603 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.3618, allocations: 8 kB / 0.5603 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.362, allocations: 107.9 kB / 0.5604 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.766e-05/0.362, allocations: 11.94 kB / 0.5604 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.516e-05/0.3621, allocations: 31.78 kB / 0.5605 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.3623, allocations: 135.5 kB / 0.5606 GB, free: 4.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3623, allocations: 3.984 kB / 0.5606 GB, free: 4.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.083e-06/0.3624, allocations: 0 / 0.5606 GB, free: 4.902 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.3624, allocations: 4 kB / 0.5606 GB, free: 4.898 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005462/0.3629, allocations: 333.6 kB / 0.5609 GB, free: 4.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.363, allocations: 12.03 kB / 0.5609 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.744e-05/0.363, allocations: 4.188 kB / 0.5609 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.237e-05/0.363, allocations: 30.75 kB / 0.561 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.363, allocations: 8.891 kB / 0.561 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.3633, allocations: 138.4 kB / 0.5611 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.3633, allocations: 8.312 kB / 0.5611 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.3633, allocations: 4.125 kB / 0.5611 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.3635, allocations: 71.39 kB / 0.5612 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3635, allocations: 4 kB / 0.5612 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.3635, allocations: 0 / 0.5612 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3635, allocations: 0 / 0.5612 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.338e-05/0.3636, allocations: 19.98 kB / 0.5612 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.364, allocations: 267.9 kB / 0.5615 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.3642, allocations: 54.55 kB / 0.5615 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.378e-05/0.3642, allocations: 24.94 kB / 0.5615 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.3642, allocations: 0 / 0.5615 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.3643, allocations: 34.56 kB / 0.5616 GB, free: 3.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3643, allocations: 3.938 kB / 0.5616 GB, free: 3.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000644/0.3649, allocations: 185.3 kB / 0.5618 GB, free: 3.574 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.365, allocations: 81.11 kB / 0.5618 GB, free: 3.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.3651, allocations: 163.8 kB / 0.562 GB, free: 3.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.3652, allocations: 25.7 kB / 0.562 GB, free: 3.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.3652, allocations: 92.14 kB / 0.5621 GB, free: 3.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.3653, allocations: 23.78 kB / 0.5621 GB, free: 3.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.3653, allocations: 29.66 kB / 0.5621 GB, free: 3.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3655, allocations: 322.8 kB / 0.5625 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.735e-05/0.3656, allocations: 31.97 kB / 0.5625 GB, free: 2.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.664e-05/0.3657, allocations: 41.7 kB / 0.5625 GB, free: 2.723 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.3658, allocations: 68.81 kB / 0.5626 GB, free: 2.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3658, allocations: 0 / 0.5626 GB, free: 2.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002489/0.3661, allocations: 117.5 kB / 0.5627 GB, free: 2.531 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3661, allocations: 8.031 kB / 0.5627 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3661, allocations: 0 / 0.5627 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3661, allocations: 0 / 0.5627 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.3662, allocations: 23.92 kB / 0.5627 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.3662, allocations: 0 / 0.5627 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.542e-05/0.3663, allocations: 11.94 kB / 0.5627 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.3663, allocations: 0 / 0.5627 GB, free: 2.488 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.873e-05/0.3664, allocations: 117.8 kB / 0.5629 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.3664, allocations: 7.953 kB / 0.5629 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.3667, allocations: 122.6 kB / 0.563 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3667, allocations: 0 / 0.563 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3668, allocations: 0 / 0.563 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3668, allocations: 3.938 kB / 0.563 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005596/0.3673, allocations: 361.5 kB / 0.5633 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3673, allocations: 3.938 kB / 0.5633 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.09e-05/0.3674, allocations: 19.98 kB / 0.5634 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3674, allocations: 7.938 kB / 0.5634 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.3674, allocations: 0 / 0.5634 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3674, allocations: 0 / 0.5634 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3674, allocations: 0 / 0.5634 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.3677, allocations: 195.5 kB / 0.5635 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.3677, allocations: 11.89 kB / 0.5636 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.3677, allocations: 15.94 kB / 0.5636 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.3678, allocations: 4 kB / 0.5636 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.3678, allocations: 3.984 kB / 0.5636 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.3679, allocations: 4 kB / 0.5636 GB, free: 1.539 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.368, allocations: 122 kB / 0.5637 GB, free: 1.422 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.368, allocations: 0 / 0.5637 GB, free: 1.422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003126/0.3683, allocations: 43.86 kB / 0.5637 GB, free: 1.379 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.002309/0.3706, allocations: 1.129 MB / 0.5648 GB, free: 428 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002493/0.3708, allocations: 71.88 kB / 0.5649 GB, free: 356 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3708, allocations: 0 / 0.5649 GB, free: 356 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.531e-05/0.3709, allocations: 39.97 kB / 0.565 GB, free: 316 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.3713, allocations: 12 kB / 0.565 GB, free: 304 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.3733, allocations: 1.534 MB / 0.5665 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.3736, allocations: 0.6924 MB / 0.5671 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.631e-05/0.3737, allocations: 29.09 kB / 0.5672 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.071e-05/0.3738, allocations: 27.52 kB / 0.5672 GB, free: 13.91 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3738, allocations: 3.938 kB / 0.5672 GB, free: 13.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.3971, allocations: 3.697 MB / 0.5708 GB, free: 10.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.73, allocations: 7.422 kB / 0.5708 GB, free: 10.24 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.011141123017296]