Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001335/0.001335, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001461/0.001461, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2397/0.2397, allocations: 46.93 MB / 360.9 MB, free: 4.281 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 71.89 kB / 0.4962 GB, free: 7.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4126, allocations: 66.04 MB / 0.5607 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003712/0.4163, allocations: 1.696 MB / 0.5623 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.4176, allocations: 0.5971 MB / 0.5629 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.559e-05/0.4177, allocations: 0 / 0.5629 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006401/0.4183, allocations: 455.1 kB / 0.5633 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005161/0.4188, allocations: 299.3 kB / 0.5636 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.4194, allocations: 174.9 kB / 0.5638 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003612/0.4197, allocations: 183.6 kB / 0.564 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.4199, allocations: 18.05 kB / 0.564 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.42, allocations: 111.7 kB / 0.5641 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.4203, allocations: 255.5 kB / 0.5643 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.4204, allocations: 7.938 kB / 0.5643 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.4205, allocations: 47.98 kB / 0.5644 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.4206, allocations: 95.61 kB / 0.5645 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.4207, allocations: 107 kB / 0.5646 GB, free: 460 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.4211, allocations: 286.5 kB / 0.5649 GB, free: 172 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4211, allocations: 0 / 0.5649 GB, free: 172 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4211, allocations: 0 / 0.5649 GB, free: 172 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.4211, allocations: 4 kB / 0.5649 GB, free: 168 kB / 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.0008916/0.422, allocations: 0.5931 MB / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.4221, allocations: 8.031 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.632e-05/0.4221, allocations: 42.69 kB / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.924e-05/0.4222, allocations: 48.66 kB / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.4225, allocations: 250.8 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.4226, allocations: 4.375 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.4226, allocations: 4.375 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.4228, allocations: 65.55 kB / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.4228, allocations: 0 / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.4228, allocations: 4 kB / 0.5658 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.4228, allocations: 4 kB / 0.5659 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.4229, allocations: 27.97 kB / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006221/0.4235, allocations: 391.7 kB / 0.5663 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.4237, allocations: 42.55 kB / 0.5663 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.318e-05/0.4237, allocations: 16.86 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.4237, allocations: 0 / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.4238, allocations: 38.64 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.4238, allocations: 0 / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001062/0.4248, allocations: 328.5 kB / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.4249, allocations: 59.34 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009561/0.4258, allocations: 0.8777 MB / 0.5676 GB, free: 13.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.4259, allocations: 25.7 kB / 0.5676 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.4261, allocations: 228.1 kB / 0.5678 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.4261, allocations: 23.75 kB / 0.5678 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.4262, allocations: 25.72 kB / 0.5679 GB, free: 12.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.4264, allocations: 358.8 kB / 0.5682 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.805e-05/0.4265, allocations: 35.97 kB / 0.5682 GB, free: 12.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.4266, allocations: 31.98 kB / 0.5683 GB, free: 12.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.4268, allocations: 80.73 kB / 0.5683 GB, free: 12.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.4268, allocations: 4 kB / 0.5684 GB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003017/0.4271, allocations: 153.7 kB / 0.5685 GB, free: 12.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.4271, allocations: 4 kB / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.4271, allocations: 4.312 kB / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.4271, allocations: 0 / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.4272, allocations: 23.92 kB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4272, allocations: 0 / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.306e-05/0.4273, allocations: 7.984 kB / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.4273, allocations: 11.92 kB / 0.5685 GB, free: 12.19 MB / 414.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.000258/0.4276, allocations: 213.8 kB / 0.5688 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.082e-05/0.4277, allocations: 47.7 kB / 0.5688 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004035/0.4281, allocations: 177.4 kB / 0.569 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.4281, allocations: 7.938 kB / 0.569 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4281, allocations: 0 / 0.569 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.4281, allocations: 3.984 kB / 0.569 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008104/0.4289, allocations: 0.4904 MB / 0.5695 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.4289, allocations: 4 kB / 0.5695 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.216e-05/0.429, allocations: 15.98 kB / 0.5695 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.429, allocations: 4.031 kB / 0.5695 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.429, allocations: 4 kB / 0.5695 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.429, allocations: 0 / 0.5695 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.429, allocations: 0 / 0.5695 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.4294, allocations: 255.9 kB / 0.5697 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.467e-05/0.4295, allocations: 43.67 kB / 0.5698 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.4295, allocations: 4 kB / 0.5698 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.324e-05/0.4296, allocations: 7.984 kB / 0.5698 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.4296, allocations: 11.98 kB / 0.5698 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.4297, allocations: 4 kB / 0.5698 GB, free: 10.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007964/0.4305, allocations: 0.6589 MB / 0.5704 GB, free: 10.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4305, allocations: 0 / 0.5704 GB, free: 10.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003154/0.4308, allocations: 28 kB / 0.5705 GB, free: 10.12 MB / 414.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.002558/0.4333, allocations: 1.15 MB / 0.5716 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002598/0.4336, allocations: 75.88 kB / 0.5717 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4336, allocations: 0 / 0.5717 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.297e-05/0.4337, allocations: 35.98 kB / 0.5717 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.4341, allocations: 30.98 kB / 0.5717 GB, free: 9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004832/0.439, allocations: 3.404 MB / 0.575 GB, free: 5.496 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/0.4395, allocations: 0.8343 MB / 0.5759 GB, free: 4.637 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.692e-05/0.4396, allocations: 20.73 kB / 0.5759 GB, free: 4.617 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.4398, allocations: 123.4 kB / 0.576 GB, free: 4.496 MB / 414.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4398, allocations: 0 / 0.576 GB, free: 4.496 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03633/0.4761, allocations: 6.645 MB / 0.5825 GB, free: 13.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.09, allocations: 10.67 kB / 0.5825 GB, free: 13.91 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.231133783934638]