Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001747/0.001747, 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.002354/0.002354, allocations: 206.1 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.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2291/0.2291, allocations: 44.91 MB / 359.6 MB, free: 6.301 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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",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.003171/0.003171, allocations: 67.91 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3646, allocations: 65.48 MB / 0.5578 GB, free: 7.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003302/0.3679, allocations: 1.629 MB / 0.5594 GB, free: 6.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.369, allocations: 0.5543 MB / 0.56 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.263e-05/0.3691, allocations: 3.938 kB / 0.56 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003994/0.3695, allocations: 123.7 kB / 0.5601 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004162/0.3699, allocations: 131.5 kB / 0.5602 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.3702, allocations: 87.75 kB / 0.5603 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.3705, allocations: 99.73 kB / 0.5604 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.3706, allocations: 21.81 kB / 0.5604 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.741e-05/0.3707, allocations: 47.83 kB / 0.5604 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.3709, allocations: 95.7 kB / 0.5605 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.3709, allocations: 0 / 0.5605 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.371, allocations: 47.97 kB / 0.5606 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.037e-05/0.3711, allocations: 23.92 kB / 0.5606 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.621e-05/0.3711, allocations: 43.61 kB / 0.5606 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.3714, allocations: 123.4 kB / 0.5608 GB, free: 4.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3714, allocations: 0 / 0.5608 GB, free: 4.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3714, allocations: 7.938 kB / 0.5608 GB, free: 4.629 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.3714, allocations: 7.938 kB / 0.5608 GB, free: 4.621 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.000578/0.372, allocations: 361.4 kB / 0.5611 GB, free: 4.238 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.372, allocations: 12.03 kB / 0.5611 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.267e-05/0.372, allocations: 192 / 0.5611 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.123e-05/0.372, allocations: 34.75 kB / 0.5612 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.3721, allocations: 16.84 kB / 0.5612 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.3723, allocations: 158.4 kB / 0.5613 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.3723, allocations: 4.375 kB / 0.5613 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.3723, allocations: 8.125 kB / 0.5613 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.3725, allocations: 61.59 kB / 0.5614 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3725, allocations: 0 / 0.5614 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.3725, allocations: 0 / 0.5614 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3725, allocations: 0 / 0.5614 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.3726, allocations: 23.98 kB / 0.5614 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.3731, allocations: 275.9 kB / 0.5617 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.3733, allocations: 46.5 kB / 0.5617 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.249e-05/0.3733, allocations: 16.86 kB / 0.5618 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.3733, allocations: 4.078 kB / 0.5618 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3734, allocations: 34.56 kB / 0.5618 GB, free: 3.453 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.3734, allocations: 0 / 0.5618 GB, free: 3.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009538/0.3743, allocations: 241.4 kB / 0.562 GB, free: 3.211 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.3744, allocations: 63.33 kB / 0.5621 GB, free: 3.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.3747, allocations: 271.8 kB / 0.5623 GB, free: 2.852 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.3747, allocations: 25.7 kB / 0.5624 GB, free: 2.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/0.3747, allocations: 116.1 kB / 0.5625 GB, free: 2.703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.3748, allocations: 27.73 kB / 0.5625 GB, free: 2.676 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.3748, allocations: 21.72 kB / 0.5625 GB, free: 2.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.375, allocations: 330.8 kB / 0.5628 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.166e-05/0.3751, allocations: 23.98 kB / 0.5629 GB, free: 2.293 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.336e-05/0.3751, allocations: 27.92 kB / 0.5629 GB, free: 2.266 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.3753, allocations: 64.83 kB / 0.5629 GB, free: 2.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3753, allocations: 0 / 0.5629 GB, free: 2.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002216/0.3755, allocations: 97.67 kB / 0.563 GB, free: 2.098 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3755, allocations: 4 kB / 0.563 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3755, allocations: 0 / 0.563 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.3756, allocations: 11.97 kB / 0.5631 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.3757, allocations: 16 kB / 0.5631 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.3757, allocations: 7.875 kB / 0.5631 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.3757, allocations: 11.92 kB / 0.5631 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.3757, allocations: 8 kB / 0.5631 GB, free: 2.039 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 0.0001256/0.3759, allocations: 131.1 kB / 0.5632 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.3759, allocations: 15.91 kB / 0.5632 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/0.3762, allocations: 127 kB / 0.5634 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3762, allocations: 0 / 0.5634 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3762, allocations: 3.938 kB / 0.5634 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3762, allocations: 0 / 0.5634 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006123/0.3768, allocations: 394.7 kB / 0.5637 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3768, allocations: 3.938 kB / 0.5637 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.632e-05/0.3769, allocations: 19.92 kB / 0.5638 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.3769, allocations: 0 / 0.5638 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.3769, allocations: 4 kB / 0.5638 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3769, allocations: 80 / 0.5638 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.3769, allocations: 3.984 kB / 0.5638 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.3773, allocations: 208.3 kB / 0.564 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.277e-05/0.3773, allocations: 15.84 kB / 0.564 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.3773, allocations: 7.938 kB / 0.564 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.517e-05/0.3774, allocations: 7.938 kB / 0.564 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.3774, allocations: 7.984 kB / 0.564 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.3774, allocations: 4 kB / 0.564 GB, free: 1.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002095/0.3776, allocations: 216.1 kB / 0.5642 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3776, allocations: 0 / 0.5642 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.3779, allocations: 23.94 kB / 0.5642 GB, free: 0.7812 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.002258/0.3802, allocations: 1.086 MB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002565/0.3804, allocations: 71.88 kB / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3804, allocations: 0 / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.171e-05/0.3805, allocations: 43.86 kB / 0.5654 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.3809, allocations: 15.77 kB / 0.5654 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.3833, allocations: 1.808 MB / 0.5672 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.3836, allocations: 0.717 MB / 0.5679 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.339e-05/0.3837, allocations: 12.97 kB / 0.5679 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.712e-05/0.3838, allocations: 47.42 kB / 0.5679 GB, free: 13.02 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3838, allocations: 0 / 0.5679 GB, free: 13.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.4074, allocations: 3.6 MB / 0.5715 GB, free: 9.496 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.76, allocations: 7.188 kB / 0.5715 GB, free: 9.492 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.938226655009203]