Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001358/0.001358, 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.001707/0.001707, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.2236/0.2236, allocations: 44.92 MB / 358.8 MB, free: 6.273 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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",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.002195/0.002195, allocations: 70.48 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3391, allocations: 65.47 MB / 0.557 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.005352/0.3445, allocations: 1.641 MB / 0.5586 GB, free: 6.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.3464, allocations: 0.5621 MB / 0.5592 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.814e-05/0.3465, allocations: 3.938 kB / 0.5592 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003869/0.3469, allocations: 83.75 kB / 0.5593 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005285/0.3474, allocations: 103.6 kB / 0.5594 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005627/0.348, allocations: 103.7 kB / 0.5595 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.3483, allocations: 87.75 kB / 0.5596 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.3484, allocations: 21.8 kB / 0.5596 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.3485, allocations: 35.86 kB / 0.5596 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.3487, allocations: 63.8 kB / 0.5597 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.3487, allocations: 4 kB / 0.5597 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.3489, allocations: 43.98 kB / 0.5597 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.824e-05/0.349, allocations: 27.84 kB / 0.5597 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.134e-05/0.349, allocations: 27.75 kB / 0.5598 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.3494, allocations: 111.5 kB / 0.5599 GB, free: 4.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3494, allocations: 0 / 0.5599 GB, free: 4.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3494, allocations: 7.875 kB / 0.5599 GB, free: 4.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.3494, allocations: 0 / 0.5599 GB, free: 4.844 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.0007981/0.3502, allocations: 341.6 kB / 0.5602 GB, free: 4.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.3502, allocations: 11.97 kB / 0.5602 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.353e-05/0.3503, allocations: 34.75 kB / 0.5603 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.854e-05/0.3503, allocations: 20.83 kB / 0.5603 GB, free: 4.406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.3506, allocations: 143 kB / 0.5604 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3507, allocations: 384 / 0.5604 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.3507, allocations: 4.375 kB / 0.5604 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.3509, allocations: 61.55 kB / 0.5605 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.3509, allocations: 4 kB / 0.5605 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.3509, allocations: 0 / 0.5605 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3509, allocations: 0 / 0.5605 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.3511, allocations: 27.97 kB / 0.5605 GB, free: 4.137 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006011/0.3517, allocations: 267.9 kB / 0.5608 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.3519, allocations: 50.5 kB / 0.5608 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.911e-05/0.352, allocations: 20.94 kB / 0.5608 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.352, allocations: 0 / 0.5608 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.3521, allocations: 34.56 kB / 0.5609 GB, free: 3.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.853e-06/0.3521, allocations: 0 / 0.5609 GB, free: 3.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00155/0.3536, allocations: 249.2 kB / 0.5611 GB, free: 3.457 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.3537, allocations: 55.39 kB / 0.5612 GB, free: 3.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.354, allocations: 214.2 kB / 0.5614 GB, free: 3.172 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.3541, allocations: 29.7 kB / 0.5614 GB, free: 3.137 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.3542, allocations: 104.1 kB / 0.5615 GB, free: 3.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.34e-05/0.3542, allocations: 27.75 kB / 0.5615 GB, free: 3.004 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.349e-05/0.3543, allocations: 21.7 kB / 0.5615 GB, free: 2.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002242/0.3545, allocations: 330.8 kB / 0.5618 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.3547, allocations: 23.98 kB / 0.5619 GB, free: 2.621 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.3548, allocations: 39.91 kB / 0.5619 GB, free: 2.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.3551, allocations: 73.05 kB / 0.562 GB, free: 2.508 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3551, allocations: 0 / 0.562 GB, free: 2.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004411/0.3556, allocations: 117.6 kB / 0.5621 GB, free: 2.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.3556, allocations: 10.66 kB / 0.5621 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3556, allocations: 3.938 kB / 0.5621 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3556, allocations: 0 / 0.5621 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.3558, allocations: 19.98 kB / 0.5621 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.3558, allocations: 3.938 kB / 0.5621 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.86e-05/0.3559, allocations: 7.938 kB / 0.5621 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.3559, allocations: 0 / 0.5621 GB, free: 2.344 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.0001707/0.3561, allocations: 129.8 kB / 0.5623 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.531e-05/0.3561, allocations: 15.91 kB / 0.5623 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005083/0.3567, allocations: 135 kB / 0.5624 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.3567, allocations: 4 kB / 0.5624 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.3567, allocations: 3.938 kB / 0.5624 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3567, allocations: 0 / 0.5624 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009977/0.3577, allocations: 398.3 kB / 0.5628 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.3577, allocations: 0 / 0.5628 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.3578, allocations: 23.86 kB / 0.5628 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.3578, allocations: 4 kB / 0.5628 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.3578, allocations: 0 / 0.5628 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3578, allocations: 0 / 0.5628 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3578, allocations: 0 / 0.5628 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005088/0.3583, allocations: 212.4 kB / 0.563 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.3584, allocations: 19.83 kB / 0.563 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.3584, allocations: 0 / 0.563 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.3586, allocations: 8 kB / 0.563 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.3586, allocations: 7.922 kB / 0.5631 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.3586, allocations: 4 kB / 0.5631 GB, free: 1.301 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002642/0.3589, allocations: 168.2 kB / 0.5632 GB, free: 1.137 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3589, allocations: 0 / 0.5632 GB, free: 1.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004837/0.3594, allocations: 23.94 kB / 0.5632 GB, free: 1.113 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.003413/0.3628, allocations: 1.096 MB / 0.5643 GB, free: 176 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000428/0.3632, allocations: 75.88 kB / 0.5644 GB, free: 100 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3632, allocations: 0 / 0.5644 GB, free: 100 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.3634, allocations: 39.91 kB / 0.5644 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006002/0.364, allocations: 35.94 kB / 0.5645 GB, free: 36 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00342/0.3674, allocations: 1.72 MB / 0.5661 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/0.3679, allocations: 0.708 MB / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.3681, allocations: 24.94 kB / 0.5668 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.3682, allocations: 39.42 kB / 0.5669 GB, free: 13.44 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3682, allocations: 0 / 0.5669 GB, free: 13.44 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03872/0.4069, allocations: 3.338 MB / 0.5701 GB, free: 10.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.55, allocations: 3.938 kB / 0.5702 GB, free: 10.15 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.595784465083852]