Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001354/0.001354, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.001626/0.001626, allocations: 217.4 kB / 21.46 MB, free: 1.605 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 / 254.8 MB, free: 15.24 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.2435/0.2435, allocations: 46.92 MB / 357.8 MB, free: 10.33 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.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.91 kB / 0.4916 GB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1441, allocations: 65.98 MB / 0.5561 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.004617/0.1487, allocations: 1.624 MB / 0.5577 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00294/0.1517, allocations: 1.187 MB / 0.5588 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.497e-05/0.1517, allocations: 4 kB / 0.5588 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.152, allocations: 19.86 kB / 0.5588 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004353/0.1525, allocations: 83.61 kB / 0.5589 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.153, allocations: 119.5 kB / 0.559 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.1532, allocations: 83.75 kB / 0.5591 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.1534, allocations: 15.98 kB / 0.5591 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.926e-05/0.1534, allocations: 35.86 kB / 0.5592 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.1536, allocations: 39.78 kB / 0.5592 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.1537, allocations: 8 kB / 0.5592 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002729/0.1539, allocations: 95.92 kB / 0.5593 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.288e-05/0.154, allocations: 19.92 kB / 0.5593 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.845e-05/0.1541, allocations: 31.8 kB / 0.5594 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.1544, allocations: 155.4 kB / 0.5595 GB, free: 2.301 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1545, allocations: 4 kB / 0.5595 GB, free: 2.297 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1545, allocations: 0 / 0.5595 GB, free: 2.297 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.1545, allocations: 0 / 0.5595 GB, free: 2.297 MB / 414.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.0007701/0.1552, allocations: 418.7 kB / 0.5599 GB, free: 1.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.1553, allocations: 8.031 kB / 0.5599 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.661e-05/0.1553, allocations: 8.125 kB / 0.5599 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.311e-05/0.1554, allocations: 30.75 kB / 0.56 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.637e-05/0.1554, allocations: 8.891 kB / 0.56 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.1558, allocations: 206 kB / 0.5602 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1558, allocations: 384 / 0.5602 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.1558, allocations: 8.125 kB / 0.5602 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.1561, allocations: 83.38 kB / 0.5602 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.1561, allocations: 3.953 kB / 0.5602 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.1561, allocations: 0 / 0.5602 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.1561, allocations: 4 kB / 0.5603 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.1563, allocations: 39.91 kB / 0.5603 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007027/0.157, allocations: 308.8 kB / 0.5606 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.1572, allocations: 58.59 kB / 0.5606 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.1573, allocations: 24.97 kB / 0.5607 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.1574, allocations: 0 / 0.5607 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.1574, allocations: 38.48 kB / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.1574, allocations: 0 / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001131/0.1585, allocations: 209.2 kB / 0.5609 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.1586, allocations: 85.05 kB / 0.561 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.1589, allocations: 155.8 kB / 0.5611 GB, free: 436 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.1589, allocations: 25.7 kB / 0.5612 GB, free: 404 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.115e-05/0.159, allocations: 92.14 kB / 0.5612 GB, free: 308 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.1591, allocations: 31.73 kB / 0.5613 GB, free: 276 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.032e-05/0.1592, allocations: 17.72 kB / 0.5613 GB, free: 252 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002489/0.1594, allocations: 326.8 kB / 0.5616 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.1596, allocations: 31.97 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.1597, allocations: 41.7 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.16, allocations: 76.75 kB / 0.5617 GB, free: 15.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.16, allocations: 0 / 0.5617 GB, free: 15.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000442/0.1605, allocations: 110 kB / 0.5619 GB, free: 15.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.1605, allocations: 8 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.1605, allocations: 0 / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1605, allocations: 0 / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.1607, allocations: 27.92 kB / 0.5619 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1607, allocations: 0 / 0.5619 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.084e-05/0.1608, allocations: 11.92 kB / 0.5619 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.1608, allocations: 0 / 0.5619 GB, free: 15.6 MB / 430.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.0001453/0.161, allocations: 128 kB / 0.562 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.54e-05/0.161, allocations: 15.91 kB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004956/0.1615, allocations: 122.7 kB / 0.5622 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.1615, allocations: 3.938 kB / 0.5622 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1615, allocations: 0 / 0.5622 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1615, allocations: 0 / 0.5622 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008951/0.1624, allocations: 406.5 kB / 0.5625 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.1625, allocations: 7.938 kB / 0.5626 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.1626, allocations: 15.98 kB / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1626, allocations: 4 kB / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.1626, allocations: 4 kB / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1626, allocations: 0 / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1626, allocations: 0 / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/0.1631, allocations: 207.4 kB / 0.5628 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.893e-05/0.1632, allocations: 93 kB / 0.5629 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.1632, allocations: 0 / 0.5629 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.1634, allocations: 7.984 kB / 0.5629 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.1634, allocations: 4 kB / 0.5629 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.1635, allocations: 4 kB / 0.5629 GB, free: 14.49 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001848/0.1636, allocations: 119.2 kB / 0.563 GB, free: 14.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1636, allocations: 3.938 kB / 0.563 GB, free: 14.37 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005818/0.1642, allocations: 39.86 kB / 0.563 GB, free: 14.33 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.003394/0.1676, allocations: 1.131 MB / 0.5641 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000416/0.168, allocations: 67.94 kB / 0.5642 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/0.168, allocations: 4 kB / 0.5642 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.1682, allocations: 47.89 kB / 0.5642 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005807/0.1688, allocations: 20.88 kB / 0.5643 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/0.172, allocations: 1.546 MB / 0.5658 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/0.1725, allocations: 0.7002 MB / 0.5665 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.1726, allocations: 28.72 kB / 0.5665 GB, free: 10.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.1727, allocations: 31.42 kB / 0.5665 GB, free: 10.82 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1727, allocations: 0 / 0.5665 GB, free: 10.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.1958, allocations: 3.522 MB / 0.57 GB, free: 7.305 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.437/8.633, allocations: 12.94 kB / 0.57 GB, free: 7.293 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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: 11.835616083000787]