Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.001247/0.001247, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001519/0.001519, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.505/1.505, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2241/0.2241, allocations: 44.94 MB / 359.6 MB, free: 6.066 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.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",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.00198/0.00198, allocations: 71.89 kB / 0.4938 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4173/0.4193, allocations: 65.47 MB / 0.5578 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003526/0.4228, allocations: 1.667 MB / 0.5594 GB, free: 5.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.424, allocations: 0.5621 MB / 0.5599 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.998e-05/0.424, allocations: 0 / 0.5599 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.4243, allocations: 59.78 kB / 0.56 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003424/0.4247, allocations: 99.58 kB / 0.5601 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004721/0.4251, allocations: 183.4 kB / 0.5603 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.4253, allocations: 91.75 kB / 0.5603 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.4254, allocations: 18.05 kB / 0.5604 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.59e-05/0.4255, allocations: 39.78 kB / 0.5604 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.4256, allocations: 55.81 kB / 0.5604 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.4256, allocations: 8 kB / 0.5605 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.4257, allocations: 55.97 kB / 0.5605 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.441e-05/0.4258, allocations: 23.92 kB / 0.5605 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/0.4258, allocations: 23.81 kB / 0.5606 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.426, allocations: 123.4 kB / 0.5607 GB, free: 4.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.426, allocations: 4 kB / 0.5607 GB, free: 4.535 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.426, allocations: 0 / 0.5607 GB, free: 4.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.4261, allocations: 0 / 0.5607 GB, free: 4.535 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005251/0.4266, allocations: 345.6 kB / 0.561 GB, free: 4.168 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.4266, allocations: 12.03 kB / 0.561 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.746e-05/0.4266, allocations: 8.188 kB / 0.561 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.4267, allocations: 38.73 kB / 0.5611 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.4267, allocations: 12.84 kB / 0.5611 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.4269, allocations: 151 kB / 0.5612 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.4269, allocations: 4.375 kB / 0.5612 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.4269, allocations: 4.125 kB / 0.5612 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.4271, allocations: 69.61 kB / 0.5613 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.4271, allocations: 7.953 kB / 0.5613 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.4272, allocations: 0 / 0.5613 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4272, allocations: 0 / 0.5613 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.4273, allocations: 47.95 kB / 0.5613 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004799/0.4278, allocations: 291.7 kB / 0.5616 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.428, allocations: 58.55 kB / 0.5617 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.85e-05/0.4281, allocations: 24.97 kB / 0.5617 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.4282, allocations: 0 / 0.5617 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.4282, allocations: 38.59 kB / 0.5617 GB, free: 3.312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.4282, allocations: 4 kB / 0.5617 GB, free: 3.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001505/0.4297, allocations: 436.8 kB / 0.5622 GB, free: 2.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.4297, allocations: 51.41 kB / 0.5622 GB, free: 2.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.4299, allocations: 192.2 kB / 0.5624 GB, free: 2.613 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.43, allocations: 29.7 kB / 0.5624 GB, free: 2.578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/0.43, allocations: 104.1 kB / 0.5625 GB, free: 2.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.4301, allocations: 43.64 kB / 0.5626 GB, free: 2.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.4301, allocations: 25.72 kB / 0.5626 GB, free: 2.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.4303, allocations: 326.8 kB / 0.5629 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.4304, allocations: 55.95 kB / 0.563 GB, free: 2.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.4306, allocations: 56.52 kB / 0.563 GB, free: 1.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.4308, allocations: 128.7 kB / 0.5631 GB, free: 1.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.4308, allocations: 0 / 0.5631 GB, free: 1.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003411/0.4312, allocations: 165.5 kB / 0.5633 GB, free: 1.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.4312, allocations: 6.656 kB / 0.5633 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4312, allocations: 0 / 0.5633 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.4312, allocations: 7.938 kB / 0.5633 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.4313, allocations: 27.98 kB / 0.5633 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4313, allocations: 4 kB / 0.5633 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.469e-05/0.4314, allocations: 11.98 kB / 0.5633 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.4314, allocations: 4 kB / 0.5633 GB, free: 1.605 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 (11): * Single equations (assignments): 11 * 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.0001115/0.4315, allocations: 133.8 kB / 0.5635 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/0.4316, allocations: 11.91 kB / 0.5635 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004422/0.432, allocations: 190.9 kB / 0.5637 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.432, allocations: 7.984 kB / 0.5637 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.432, allocations: 4 kB / 0.5637 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.432, allocations: 0 / 0.5637 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007315/0.4328, allocations: 471 kB / 0.5641 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.4328, allocations: 4 kB / 0.5641 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.4329, allocations: 27.92 kB / 0.5642 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.4329, allocations: 3.984 kB / 0.5642 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.4329, allocations: 8.156 kB / 0.5642 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.4329, allocations: 3.938 kB / 0.5642 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4329, allocations: 0 / 0.5642 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.4333, allocations: 277 kB / 0.5644 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/0.4333, allocations: 7.953 kB / 0.5644 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.4333, allocations: 0 / 0.5644 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.4334, allocations: 15.98 kB / 0.5645 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.4335, allocations: 15.92 kB / 0.5645 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.4335, allocations: 4 kB / 0.5645 GB, free: 348 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.4336, allocations: 152.9 kB / 0.5646 GB, free: 196 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4336, allocations: 0 / 0.5646 GB, free: 196 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000281/0.4339, allocations: 31.92 kB / 0.5647 GB, free: 164 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002565/0.4365, allocations: 1.203 MB / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003706/0.4369, allocations: 123.8 kB / 0.566 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4369, allocations: 0 / 0.566 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.437, allocations: 63.91 kB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.4374, allocations: 29.45 kB / 0.566 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.44, allocations: 1.924 MB / 0.5679 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.4401, allocations: 104.7 kB / 0.568 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.793e-05/0.4402, allocations: 36.33 kB / 0.5681 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.932e-05/0.4403, allocations: 43.36 kB / 0.5681 GB, free: 12.72 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4403, allocations: 0 / 0.5681 GB, free: 12.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.4653, allocations: 3.778 MB / 0.5718 GB, free: 9.004 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.79, allocations: 10.23 kB / 0.5718 GB, free: 8.996 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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: 15.016145084053278]