Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001456/0.001456, allocations: 113 kB / 18.49 MB, free: 4.539 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.001744/0.001744, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.09 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.2292/0.2292, allocations: 46.92 MB / 357.8 MB, free: 10.32 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.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 67.88 kB / 0.4916 GB, free: 7.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1371, allocations: 65.99 MB / 0.5561 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003641/0.1407, allocations: 1.618 MB / 0.5577 GB, free: 4.184 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.1419, allocations: 0.5533 MB / 0.5582 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.9e-05/0.142, allocations: 4 kB / 0.5582 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.1423, allocations: 107.7 kB / 0.5583 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003364/0.1426, allocations: 119.6 kB / 0.5584 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.1429, allocations: 115.5 kB / 0.5585 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.1431, allocations: 87.75 kB / 0.5586 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1433, allocations: 19.97 kB / 0.5586 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.908e-05/0.1433, allocations: 47.84 kB / 0.5587 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.1435, allocations: 71.8 kB / 0.5588 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.1435, allocations: 4 kB / 0.5588 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1436, allocations: 47.97 kB / 0.5588 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.631e-05/0.1436, allocations: 23.86 kB / 0.5588 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.1437, allocations: 39.67 kB / 0.5589 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.1439, allocations: 115.5 kB / 0.559 GB, free: 2.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1439, allocations: 0 / 0.559 GB, free: 2.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1439, allocations: 0 / 0.559 GB, free: 2.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.1439, allocations: 3.984 kB / 0.559 GB, free: 2.836 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000554/0.1445, allocations: 434.6 kB / 0.5594 GB, free: 2.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.1445, allocations: 8.031 kB / 0.5594 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.346e-05/0.1445, allocations: 4.188 kB / 0.5594 GB, free: 2.352 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.282e-05/0.1446, allocations: 34.73 kB / 0.5594 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.1446, allocations: 8.891 kB / 0.5594 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.1449, allocations: 216.9 kB / 0.5597 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1449, allocations: 384 / 0.5597 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.1449, allocations: 12.12 kB / 0.5597 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1451, allocations: 53.67 kB / 0.5597 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.1451, allocations: 3.953 kB / 0.5597 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1451, allocations: 4 kB / 0.5597 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1451, allocations: 0 / 0.5597 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.1452, allocations: 23.98 kB / 0.5598 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.1456, allocations: 320.7 kB / 0.5601 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.1458, allocations: 46.55 kB / 0.5601 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.609e-05/0.1458, allocations: 16.86 kB / 0.5601 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.1458, allocations: 0 / 0.5601 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.1459, allocations: 30.56 kB / 0.5601 GB, free: 1.469 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1459, allocations: 0 / 0.5601 GB, free: 1.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009611/0.1468, allocations: 261.1 kB / 0.5604 GB, free: 1.207 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.1469, allocations: 59.28 kB / 0.5605 GB, free: 1.137 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.1471, allocations: 250.1 kB / 0.5607 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1472, allocations: 29.7 kB / 0.5607 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.506e-05/0.1472, allocations: 108.1 kB / 0.5608 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.1473, allocations: 31.73 kB / 0.5609 GB, free: 0.707 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.1473, allocations: 21.72 kB / 0.5609 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1475, allocations: 330.8 kB / 0.5612 GB, free: 356 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.1476, allocations: 31.97 kB / 0.5612 GB, free: 324 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.134e-05/0.1477, allocations: 28.05 kB / 0.5612 GB, free: 296 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.1478, allocations: 72.81 kB / 0.5613 GB, free: 220 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1478, allocations: 0 / 0.5613 GB, free: 220 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002581/0.1481, allocations: 121.5 kB / 0.5614 GB, free: 92 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1481, allocations: 8 kB / 0.5614 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1481, allocations: 0 / 0.5614 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1481, allocations: 0 / 0.5614 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1482, allocations: 15.98 kB / 0.5615 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.1483, allocations: 3.938 kB / 0.5615 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.646e-05/0.1483, allocations: 7.984 kB / 0.5615 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.1483, allocations: 4 kB / 0.5615 GB, free: 52 kB / 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.0001288/0.1484, allocations: 136 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.1485, allocations: 15.91 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003418/0.1488, allocations: 135.4 kB / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.1488, allocations: 0 / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1488, allocations: 3.938 kB / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1488, allocations: 7.938 kB / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006213/0.1495, allocations: 423.2 kB / 0.5622 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.1495, allocations: 11.92 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.702e-05/0.1495, allocations: 19.98 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1495, allocations: 0 / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1496, allocations: 4 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1496, allocations: 480 / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1496, allocations: 4 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.1499, allocations: 228.2 kB / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.1499, allocations: 89 kB / 0.5625 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.15, allocations: 4 kB / 0.5625 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.529e-05/0.15, allocations: 0 / 0.5625 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.1501, allocations: 11.98 kB / 0.5625 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.1501, allocations: 4 kB / 0.5625 GB, free: 14.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.1503, allocations: 188.4 kB / 0.5627 GB, free: 14.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1503, allocations: 4 kB / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1505, allocations: 23.94 kB / 0.5627 GB, free: 14.65 MB / 430.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.002313/0.1528, allocations: 1.108 MB / 0.5638 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002652/0.1531, allocations: 75.89 kB / 0.5639 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1531, allocations: 0 / 0.5639 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.1532, allocations: 39.97 kB / 0.5639 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.1536, allocations: 21.05 kB / 0.5639 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.1562, allocations: 1.807 MB / 0.5657 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.1567, allocations: 0.7197 MB / 0.5664 GB, free: 10.92 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.676e-05/0.1568, allocations: 20.95 kB / 0.5664 GB, free: 10.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.838e-05/0.1569, allocations: 39.42 kB / 0.5665 GB, free: 10.86 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1569, allocations: 0 / 0.5665 GB, free: 10.86 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.1765, allocations: 3.388 MB / 0.5698 GB, free: 7.531 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.556/8.733, allocations: 9 kB / 0.5698 GB, free: 7.523 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.896394298004452]