Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.001719/0.001719, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.002047/0.002047, allocations: 213.3 kB / 23.73 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.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2365/0.2365, allocations: 44.93 MB / 358.8 MB, free: 6.074 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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",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.00208/0.00208, allocations: 59.91 kB / 0.493 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3519, allocations: 65.47 MB / 0.557 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003659/0.3556, allocations: 1.608 MB / 0.5586 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.3569, allocations: 0.5388 MB / 0.5591 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.844e-05/0.357, allocations: 0 / 0.5591 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.3573, allocations: 75.77 kB / 0.5592 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003445/0.3576, allocations: 107.6 kB / 0.5593 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.358, allocations: 127.5 kB / 0.5594 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.3582, allocations: 83.75 kB / 0.5595 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3583, allocations: 13.81 kB / 0.5595 GB, free: 5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.729e-05/0.3584, allocations: 31.91 kB / 0.5595 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.3585, allocations: 63.75 kB / 0.5596 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.3585, allocations: 4 kB / 0.5596 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.3587, allocations: 47.97 kB / 0.5596 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.531e-05/0.3588, allocations: 19.92 kB / 0.5596 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.3588, allocations: 27.81 kB / 0.5597 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.359, allocations: 115.4 kB / 0.5598 GB, free: 4.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.359, allocations: 0 / 0.5598 GB, free: 4.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.359, allocations: 0 / 0.5598 GB, free: 4.695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.912e-06/0.359, allocations: 0 / 0.5598 GB, free: 4.695 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.0005908/0.3596, allocations: 339.3 kB / 0.5601 GB, free: 4.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.3597, allocations: 16.02 kB / 0.5601 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.77e-05/0.3597, allocations: 30.75 kB / 0.5601 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.3598, allocations: 12.84 kB / 0.5601 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.36, allocations: 143 kB / 0.5603 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.36, allocations: 8.375 kB / 0.5603 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.36, allocations: 8.312 kB / 0.5603 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.3602, allocations: 57.61 kB / 0.5604 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3602, allocations: 0 / 0.5604 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3602, allocations: 4 kB / 0.5604 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3602, allocations: 0 / 0.5604 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.3603, allocations: 27.97 kB / 0.5604 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/0.3608, allocations: 259.9 kB / 0.5606 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.3609, allocations: 54.48 kB / 0.5607 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.361, allocations: 16.95 kB / 0.5607 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.361, allocations: 3.984 kB / 0.5607 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/0.3611, allocations: 38.56 kB / 0.5607 GB, free: 3.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3611, allocations: 0 / 0.5607 GB, free: 3.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009499/0.362, allocations: 245.7 kB / 0.561 GB, free: 3.316 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.3621, allocations: 51.41 kB / 0.561 GB, free: 3.254 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.3623, allocations: 214.2 kB / 0.5612 GB, free: 3.035 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.3623, allocations: 29.7 kB / 0.5613 GB, free: 3 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.429e-05/0.3624, allocations: 116 kB / 0.5614 GB, free: 2.883 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.3625, allocations: 31.73 kB / 0.5614 GB, free: 2.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.435e-05/0.3625, allocations: 17.72 kB / 0.5614 GB, free: 2.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3627, allocations: 326.8 kB / 0.5617 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.018e-05/0.3628, allocations: 31.97 kB / 0.5618 GB, free: 2.469 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.417e-05/0.3628, allocations: 27.92 kB / 0.5618 GB, free: 2.441 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.363, allocations: 76.81 kB / 0.5619 GB, free: 2.363 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.363, allocations: 4 kB / 0.5619 GB, free: 2.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002266/0.3632, allocations: 113.6 kB / 0.562 GB, free: 2.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3633, allocations: 4 kB / 0.562 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3633, allocations: 0 / 0.562 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3633, allocations: 4 kB / 0.562 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.3634, allocations: 19.92 kB / 0.562 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.3634, allocations: 7.938 kB / 0.562 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.3634, allocations: 7.984 kB / 0.562 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.3634, allocations: 7.984 kB / 0.562 GB, free: 2.191 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.0001184/0.3636, allocations: 125.8 kB / 0.5621 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.3636, allocations: 11.91 kB / 0.5622 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003225/0.3639, allocations: 131 kB / 0.5623 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3639, allocations: 0 / 0.5623 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3639, allocations: 3.938 kB / 0.5623 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3639, allocations: 0 / 0.5623 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006043/0.3645, allocations: 390.7 kB / 0.5627 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3645, allocations: 0 / 0.5627 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.071e-05/0.3646, allocations: 19.94 kB / 0.5627 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.3646, allocations: 0 / 0.5627 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.3646, allocations: 11.98 kB / 0.5627 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3646, allocations: 80 / 0.5627 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3646, allocations: 3.984 kB / 0.5627 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.3649, allocations: 212.3 kB / 0.5629 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.365, allocations: 15.84 kB / 0.5629 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.365, allocations: 4 kB / 0.5629 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.3651, allocations: 7.984 kB / 0.5629 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.3651, allocations: 7.984 kB / 0.5629 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.3651, allocations: 4 kB / 0.5629 GB, free: 1.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001639/0.3653, allocations: 164.2 kB / 0.5631 GB, free: 1.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3653, allocations: 0 / 0.5631 GB, free: 1.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.3655, allocations: 23.94 kB / 0.5631 GB, free: 0.9805 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.002455/0.368, allocations: 1.132 MB / 0.5642 GB, free: 36 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002671/0.3683, allocations: 75.94 kB / 0.5643 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3683, allocations: 0 / 0.5643 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.3684, allocations: 43.91 kB / 0.5643 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.3687, allocations: 22.81 kB / 0.5643 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.371, allocations: 1.72 MB / 0.566 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.3711, allocations: 96.73 kB / 0.5661 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.3712, allocations: 24.89 kB / 0.5661 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.96e-05/0.3713, allocations: 35.42 kB / 0.5662 GB, free: 13.93 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3713, allocations: 0 / 0.5662 GB, free: 13.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.4019, allocations: 3.724 MB / 0.5698 GB, free: 10.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.83, allocations: 3.984 kB / 0.5698 GB, free: 10.25 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.894115537870675]