Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001619/0.001619, allocations: 120.2 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001977/0.001977, allocations: 214.2 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 230.4 MB / 254.7 MB, free: 14.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2279/0.2279, allocations: 46.93 MB / 357.7 MB, free: 10.17 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 75.89 kB / 0.4917 GB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1292, allocations: 66.05 MB / 0.5562 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.00329/0.1325, allocations: 1.602 MB / 0.5577 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.1344, allocations: 1.167 MB / 0.5589 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.182e-05/0.1345, allocations: 4 kB / 0.5589 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002277/0.1347, allocations: 27.78 kB / 0.5589 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.135, allocations: 83.61 kB / 0.559 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.1353, allocations: 81.28 kB / 0.5591 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.1355, allocations: 75.75 kB / 0.5591 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.897e-05/0.1356, allocations: 8 kB / 0.5591 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.401e-05/0.1357, allocations: 31.86 kB / 0.5592 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.1358, allocations: 35.83 kB / 0.5592 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.1359, allocations: 4 kB / 0.5592 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.1361, allocations: 95.94 kB / 0.5593 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.948e-05/0.1361, allocations: 19.86 kB / 0.5593 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.1362, allocations: 27.8 kB / 0.5594 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.1364, allocations: 139.5 kB / 0.5595 GB, free: 2.094 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1365, allocations: 0 / 0.5595 GB, free: 2.094 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1365, allocations: 0 / 0.5595 GB, free: 2.094 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.1365, allocations: 0 / 0.5595 GB, free: 2.094 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005784/0.137, allocations: 406.8 kB / 0.5599 GB, free: 1.645 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.1371, allocations: 12.03 kB / 0.5599 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.322e-05/0.1371, allocations: 192 / 0.5599 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.834e-05/0.1371, allocations: 38.67 kB / 0.5599 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.1372, allocations: 8.891 kB / 0.5599 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.1374, allocations: 196.2 kB / 0.5601 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.1374, allocations: 4.375 kB / 0.5601 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.1375, allocations: 4.375 kB / 0.5601 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.1376, allocations: 63.72 kB / 0.5602 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1377, allocations: 0 / 0.5602 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1377, allocations: 8 kB / 0.5602 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1377, allocations: 0 / 0.5602 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.416e-05/0.1378, allocations: 23.91 kB / 0.5602 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.1382, allocations: 276.9 kB / 0.5605 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.1384, allocations: 42.56 kB / 0.5605 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.367e-05/0.1384, allocations: 16.94 kB / 0.5605 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1385, allocations: 3.938 kB / 0.5605 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.1385, allocations: 38.5 kB / 0.5606 GB, free: 0.793 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.1385, allocations: 0 / 0.5606 GB, free: 0.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.00061/0.1391, allocations: 137.5 kB / 0.5607 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.137e-05/0.1392, allocations: 85.03 kB / 0.5608 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.1394, allocations: 144 kB / 0.5609 GB, free: 412 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.1394, allocations: 25.7 kB / 0.561 GB, free: 380 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/0.1395, allocations: 92.14 kB / 0.561 GB, free: 284 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.1395, allocations: 27.78 kB / 0.5611 GB, free: 256 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.1395, allocations: 17.72 kB / 0.5611 GB, free: 232 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.1397, allocations: 322.8 kB / 0.5614 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.677e-05/0.1398, allocations: 19.98 kB / 0.5614 GB, free: 15.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.232e-05/0.1399, allocations: 33.64 kB / 0.5614 GB, free: 15.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.14, allocations: 52.83 kB / 0.5615 GB, free: 15.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.14, allocations: 0 / 0.5615 GB, free: 15.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002096/0.1402, allocations: 89.84 kB / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.1403, allocations: 4 kB / 0.5616 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1403, allocations: 0 / 0.5616 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1403, allocations: 0 / 0.5616 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.036e-05/0.1403, allocations: 15.98 kB / 0.5616 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.1404, allocations: 0 / 0.5616 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.902e-05/0.1404, allocations: 4 kB / 0.5616 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.1404, allocations: 7.984 kB / 0.5616 GB, free: 15.66 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 (5): * Single equations (assignments): 5 * 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.0001073/0.1405, allocations: 121.8 kB / 0.5617 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.1406, allocations: 7.953 kB / 0.5617 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.1408, allocations: 89.91 kB / 0.5618 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1408, allocations: 0 / 0.5618 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1408, allocations: 0 / 0.5618 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1408, allocations: 288 / 0.5618 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005047/0.1413, allocations: 350.5 kB / 0.5622 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1413, allocations: 4 kB / 0.5622 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.943e-05/0.1414, allocations: 12 kB / 0.5622 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1414, allocations: 3.984 kB / 0.5622 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1414, allocations: 3.984 kB / 0.5622 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1414, allocations: 3.938 kB / 0.5622 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1414, allocations: 3.938 kB / 0.5622 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.1417, allocations: 175.5 kB / 0.5623 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.679e-05/0.1418, allocations: 93.05 kB / 0.5624 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.1418, allocations: 0 / 0.5624 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.973e-05/0.1419, allocations: 8.125 kB / 0.5624 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.1419, allocations: 0 / 0.5624 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.1419, allocations: 11.98 kB / 0.5625 GB, free: 14.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.142, allocations: 116.9 kB / 0.5626 GB, free: 14.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.142, allocations: 0 / 0.5626 GB, free: 14.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003053/0.1423, allocations: 39.86 kB / 0.5626 GB, free: 14.53 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 (5): * Single equations (assignments): 5 * 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.002319/0.1447, allocations: 1.093 MB / 0.5637 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002288/0.1449, allocations: 43.97 kB / 0.5637 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1449, allocations: 0 / 0.5637 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.649e-05/0.145, allocations: 35.91 kB / 0.5637 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.1453, allocations: 18.97 kB / 0.5638 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.1473, allocations: 1.428 MB / 0.5652 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.1477, allocations: 0.6885 MB / 0.5658 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.159e-05/0.1477, allocations: 19.77 kB / 0.5659 GB, free: 11.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.317e-05/0.1478, allocations: 31.36 kB / 0.5659 GB, free: 11.21 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1478, allocations: 0 / 0.5659 GB, free: 11.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.1689, allocations: 3.277 MB / 0.5691 GB, free: 7.949 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.878/8.047, allocations: 7.688 kB / 0.5691 GB, free: 7.945 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.098295536008663]