Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.001273/0.001273, allocations: 123.8 kB / 20.44 MB, free: 1.297 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.001375/0.001375, allocations: 211 kB / 23.74 MB, free: 4.531 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.225/0.225, allocations: 44.91 MB / 358.8 MB, free: 6.293 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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",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.00231/0.00231, allocations: 71.89 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3606, allocations: 65.48 MB / 0.5571 GB, free: 7.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.003219/0.3638, allocations: 1.629 MB / 0.5586 GB, free: 6.023 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3649, allocations: 0.5699 MB / 0.5592 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.184e-05/0.3649, allocations: 0 / 0.5592 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.3652, allocations: 79.7 kB / 0.5593 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.3655, allocations: 99.59 kB / 0.5594 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.3658, allocations: 111.7 kB / 0.5595 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.366, allocations: 83.75 kB / 0.5596 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3661, allocations: 17.81 kB / 0.5596 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.515e-05/0.3662, allocations: 35.91 kB / 0.5596 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.3663, allocations: 71.73 kB / 0.5597 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.3663, allocations: 3.938 kB / 0.5597 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.685e-05/0.3664, allocations: 47.98 kB / 0.5597 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.177e-05/0.3665, allocations: 19.92 kB / 0.5597 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.3665, allocations: 27.75 kB / 0.5598 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.3667, allocations: 111.5 kB / 0.5599 GB, free: 4.754 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3667, allocations: 0 / 0.5599 GB, free: 4.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3667, allocations: 0 / 0.5599 GB, free: 4.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3667, allocations: 3.938 kB / 0.5599 GB, free: 4.75 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.0005226/0.3673, allocations: 351.7 kB / 0.5602 GB, free: 4.379 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.3673, allocations: 12.03 kB / 0.5602 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.3673, allocations: 34.73 kB / 0.5603 GB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.3674, allocations: 12.84 kB / 0.5603 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.3676, allocations: 139 kB / 0.5604 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-06/0.3676, allocations: 8.375 kB / 0.5604 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.3676, allocations: 4.375 kB / 0.5604 GB, free: 4.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.3678, allocations: 61.61 kB / 0.5605 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3678, allocations: 0 / 0.5605 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.3678, allocations: 0 / 0.5605 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3678, allocations: 4 kB / 0.5605 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.3679, allocations: 31.91 kB / 0.5605 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.3683, allocations: 271.9 kB / 0.5608 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.3684, allocations: 50.53 kB / 0.5608 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.549e-05/0.3685, allocations: 16.86 kB / 0.5608 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.3685, allocations: 7.938 kB / 0.5608 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.3686, allocations: 34.66 kB / 0.5609 GB, free: 3.598 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.3686, allocations: 0 / 0.5609 GB, free: 3.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009346/0.3695, allocations: 245.2 kB / 0.5611 GB, free: 3.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.3695, allocations: 51.41 kB / 0.5612 GB, free: 3.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.3698, allocations: 210.2 kB / 0.5614 GB, free: 3.074 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.3698, allocations: 29.7 kB / 0.5614 GB, free: 3.039 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.136e-05/0.3699, allocations: 108.1 kB / 0.5615 GB, free: 2.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.3699, allocations: 35.8 kB / 0.5615 GB, free: 2.895 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.3699, allocations: 17.72 kB / 0.5615 GB, free: 2.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3701, allocations: 322.8 kB / 0.5618 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.3702, allocations: 31.98 kB / 0.5619 GB, free: 2.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.921e-05/0.3703, allocations: 31.97 kB / 0.5619 GB, free: 2.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.3705, allocations: 84.97 kB / 0.562 GB, free: 2.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3705, allocations: 0 / 0.562 GB, free: 2.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002857/0.3708, allocations: 109.5 kB / 0.5621 GB, free: 2.285 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3708, allocations: 4 kB / 0.5621 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3708, allocations: 4 kB / 0.5621 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3708, allocations: 0 / 0.5621 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.371, allocations: 19.98 kB / 0.5621 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.371, allocations: 3.938 kB / 0.5621 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.112e-05/0.3711, allocations: 8 kB / 0.5621 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.3711, allocations: 0 / 0.5621 GB, free: 2.246 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.0001501/0.3712, allocations: 133.8 kB / 0.5623 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.086e-05/0.3713, allocations: 11.91 kB / 0.5623 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004439/0.3717, allocations: 135 kB / 0.5624 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3717, allocations: 3.938 kB / 0.5624 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.3717, allocations: 7.938 kB / 0.5624 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.3717, allocations: 0 / 0.5624 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008523/0.3726, allocations: 386.3 kB / 0.5628 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3726, allocations: 32 / 0.5628 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.3727, allocations: 27.92 kB / 0.5628 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.3727, allocations: 7.938 kB / 0.5628 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3727, allocations: 4 kB / 0.5628 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3727, allocations: 0 / 0.5628 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3727, allocations: 0 / 0.5628 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004635/0.3732, allocations: 216.3 kB / 0.563 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.3732, allocations: 15.84 kB / 0.563 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.3733, allocations: 4 kB / 0.563 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.3734, allocations: 4 kB / 0.563 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.3734, allocations: 7.984 kB / 0.5631 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.3735, allocations: 4 kB / 0.5631 GB, free: 1.199 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002259/0.3737, allocations: 164.2 kB / 0.5632 GB, free: 1.039 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3737, allocations: 0 / 0.5632 GB, free: 1.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004484/0.3741, allocations: 27.86 kB / 0.5632 GB, free: 1.012 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.003041/0.3772, allocations: 1.103 MB / 0.5643 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003352/0.3775, allocations: 67.89 kB / 0.5644 GB, free: 0 / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.3775, allocations: 0 / 0.5644 GB, free: 0 / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.3777, allocations: 43.91 kB / 0.5644 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005584/0.3782, allocations: 19.02 kB / 0.5644 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.381, allocations: 1.728 MB / 0.5661 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.3814, allocations: 0.708 MB / 0.5668 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.3815, allocations: 28.94 kB / 0.5669 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.14e-05/0.3816, allocations: 31.42 kB / 0.5669 GB, free: 13.34 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3816, allocations: 0 / 0.5669 GB, free: 13.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03436/0.416, allocations: 3.338 MB / 0.5701 GB, free: 10.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.58, allocations: 15.11 kB / 0.5702 GB, free: 10.05 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test26_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.645678232889622]