Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.00218/0.00218, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001862/0.001862, allocations: 210.1 kB / 23.74 MB, free: 4.672 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.51/1.51, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.2331/0.2331, allocations: 44.91 MB / 358.8 MB, free: 6.25 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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",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.002173/0.002173, allocations: 71.91 kB / 0.4931 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3507, allocations: 65.48 MB / 0.5571 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.003958/0.3546, allocations: 1.639 MB / 0.5587 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.3559, allocations: 0.5621 MB / 0.5592 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.718e-05/0.356, allocations: 0 / 0.5592 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.3563, allocations: 79.77 kB / 0.5593 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000417/0.3568, allocations: 95.59 kB / 0.5594 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.3571, allocations: 115.7 kB / 0.5595 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.3573, allocations: 91.75 kB / 0.5596 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3574, allocations: 17.81 kB / 0.5596 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.828e-05/0.3575, allocations: 31.91 kB / 0.5596 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.3577, allocations: 59.8 kB / 0.5597 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.3577, allocations: 4 kB / 0.5597 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.3578, allocations: 51.92 kB / 0.5597 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.462e-05/0.3579, allocations: 19.92 kB / 0.5597 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.221e-05/0.3579, allocations: 27.75 kB / 0.5598 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.3582, allocations: 115.4 kB / 0.5599 GB, free: 4.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3582, allocations: 0 / 0.5599 GB, free: 4.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3582, allocations: 4 kB / 0.5599 GB, free: 4.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.3582, allocations: 0 / 0.5599 GB, free: 4.824 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.0005211/0.3587, allocations: 341.6 kB / 0.5602 GB, free: 4.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.3588, allocations: 12.03 kB / 0.5602 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.786e-05/0.3588, allocations: 42.73 kB / 0.5603 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.737e-05/0.3589, allocations: 12.84 kB / 0.5603 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.3591, allocations: 139 kB / 0.5604 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.3591, allocations: 4.375 kB / 0.5604 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.3591, allocations: 4.312 kB / 0.5604 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.3593, allocations: 69.59 kB / 0.5605 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.3593, allocations: 0 / 0.5605 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.3593, allocations: 0 / 0.5605 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3593, allocations: 0 / 0.5605 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.3595, allocations: 27.97 kB / 0.5605 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004727/0.3599, allocations: 271.9 kB / 0.5608 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.3601, allocations: 58.48 kB / 0.5608 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.1e-05/0.3601, allocations: 12.86 kB / 0.5608 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.3601, allocations: 0 / 0.5608 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.3602, allocations: 38.64 kB / 0.5609 GB, free: 3.676 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.3602, allocations: 0 / 0.5609 GB, free: 3.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000948/0.3611, allocations: 241.5 kB / 0.5611 GB, free: 3.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.3612, allocations: 51.41 kB / 0.5612 GB, free: 3.371 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.3614, allocations: 214.2 kB / 0.5614 GB, free: 3.152 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.3614, allocations: 29.64 kB / 0.5614 GB, free: 3.117 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.108e-05/0.3615, allocations: 112.1 kB / 0.5615 GB, free: 3.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.3615, allocations: 31.81 kB / 0.5615 GB, free: 2.973 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.3616, allocations: 21.7 kB / 0.5615 GB, free: 2.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3617, allocations: 330.8 kB / 0.5619 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.195e-05/0.3618, allocations: 27.98 kB / 0.5619 GB, free: 2.586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-05/0.3619, allocations: 27.97 kB / 0.5619 GB, free: 2.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.3621, allocations: 76.81 kB / 0.562 GB, free: 2.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3621, allocations: 4 kB / 0.562 GB, free: 2.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002302/0.3623, allocations: 109.6 kB / 0.5621 GB, free: 2.363 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.3623, allocations: 7.938 kB / 0.5621 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3623, allocations: 96 / 0.5621 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.3623, allocations: 3.984 kB / 0.5621 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.3624, allocations: 23.92 kB / 0.5621 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3625, allocations: 3.938 kB / 0.5621 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.3625, allocations: 4 kB / 0.5621 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.3625, allocations: 0 / 0.5621 GB, free: 2.32 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.0001101/0.3626, allocations: 133.8 kB / 0.5623 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.3627, allocations: 11.91 kB / 0.5623 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004051/0.3631, allocations: 139.2 kB / 0.5624 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3631, allocations: 0 / 0.5624 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3631, allocations: 3.938 kB / 0.5624 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.3631, allocations: 4 kB / 0.5624 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006014/0.3637, allocations: 394.3 kB / 0.5628 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3637, allocations: 4 kB / 0.5628 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.562e-05/0.3638, allocations: 19.92 kB / 0.5628 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3638, allocations: 0 / 0.5628 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3638, allocations: 4 kB / 0.5628 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3638, allocations: 0 / 0.5628 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3638, allocations: 0 / 0.5628 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003768/0.3641, allocations: 220.3 kB / 0.563 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.3642, allocations: 15.84 kB / 0.563 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.3642, allocations: 8 kB / 0.5631 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.3643, allocations: 0 / 0.5631 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.3643, allocations: 7.984 kB / 0.5631 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.3643, allocations: 4 kB / 0.5631 GB, free: 1.273 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001609/0.3645, allocations: 172.2 kB / 0.5632 GB, free: 1.105 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3645, allocations: 0 / 0.5632 GB, free: 1.105 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.3648, allocations: 19.92 kB / 0.5632 GB, free: 1.086 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.002328/0.3671, allocations: 1.096 MB / 0.5643 GB, free: 152 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.3673, allocations: 71.95 kB / 0.5644 GB, free: 80 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3673, allocations: 4 kB / 0.5644 GB, free: 76 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.974e-05/0.3674, allocations: 39.91 kB / 0.5644 GB, free: 36 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.3678, allocations: 26.17 kB / 0.5645 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.3699, allocations: 1.724 MB / 0.5661 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.3703, allocations: 0.708 MB / 0.5668 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.399e-05/0.3704, allocations: 20.64 kB / 0.5668 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.21e-05/0.3705, allocations: 35.42 kB / 0.5669 GB, free: 13.42 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3705, allocations: 0 / 0.5669 GB, free: 13.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02879/0.3993, allocations: 3.344 MB / 0.5701 GB, free: 10.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.58, allocations: 8 kB / 0.5702 GB, free: 10.12 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.679054904030636]