Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001884/0.001884, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.002199/0.002199, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.546/1.546, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2316/0.2316, allocations: 46.91 MB / 357.4 MB, free: 10.47 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.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 75.88 kB / 0.4913 GB, free: 8.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1331, allocations: 65.99 MB / 0.5557 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.0032/0.1363, allocations: 1.602 MB / 0.5573 GB, free: 4.582 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009998/0.1373, allocations: 0.5411 MB / 0.5578 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.14e-05/0.1373, allocations: 4 kB / 0.5578 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.1375, allocations: 27.78 kB / 0.5578 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.1378, allocations: 79.67 kB / 0.5579 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.1381, allocations: 114.5 kB / 0.558 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.1383, allocations: 63.78 kB / 0.5581 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.487e-05/0.1384, allocations: 7.984 kB / 0.5581 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.539e-05/0.1384, allocations: 23.92 kB / 0.5581 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.35e-05/0.1385, allocations: 23.84 kB / 0.5581 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1385, allocations: 7.938 kB / 0.5581 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.657e-05/0.1386, allocations: 32 kB / 0.5582 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.087e-05/0.1386, allocations: 15.92 kB / 0.5582 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.1387, allocations: 19.81 kB / 0.5582 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.1388, allocations: 83.59 kB / 0.5583 GB, free: 3.547 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1388, allocations: 7.984 kB / 0.5583 GB, free: 3.539 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.879e-06/0.1388, allocations: 4 kB / 0.5583 GB, free: 3.535 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1389, allocations: 0 / 0.5583 GB, free: 3.535 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.0005266/0.1394, allocations: 379 kB / 0.5587 GB, free: 3.113 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1394, allocations: 8.031 kB / 0.5587 GB, free: 3.105 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.148e-05/0.1395, allocations: 42.73 kB / 0.5587 GB, free: 3.055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.1395, allocations: 8.891 kB / 0.5587 GB, free: 3.047 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.1397, allocations: 192.2 kB / 0.5589 GB, free: 2.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.26e-06/0.1397, allocations: 384 / 0.5589 GB, free: 2.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.1397, allocations: 384 / 0.5589 GB, free: 2.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.1399, allocations: 62.17 kB / 0.559 GB, free: 2.754 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1399, allocations: 3.938 kB / 0.559 GB, free: 2.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.1399, allocations: 0 / 0.559 GB, free: 2.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1399, allocations: 0 / 0.559 GB, free: 2.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.54e-05/0.14, allocations: 23.98 kB / 0.559 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.1404, allocations: 288.8 kB / 0.5593 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.1406, allocations: 46.5 kB / 0.5593 GB, free: 2.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.605e-05/0.1407, allocations: 20.94 kB / 0.5593 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.1407, allocations: 3.984 kB / 0.5593 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.1407, allocations: 30.56 kB / 0.5594 GB, free: 2.273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.1407, allocations: 0 / 0.5594 GB, free: 2.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000552/0.1413, allocations: 157.4 kB / 0.5595 GB, free: 2.113 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.1413, allocations: 51.41 kB / 0.5596 GB, free: 2.051 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.1415, allocations: 152.7 kB / 0.5597 GB, free: 1.891 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.1415, allocations: 25.7 kB / 0.5597 GB, free: 1.859 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.1415, allocations: 92.14 kB / 0.5598 GB, free: 1.766 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.1416, allocations: 23.78 kB / 0.5598 GB, free: 1.742 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.1416, allocations: 17.72 kB / 0.5599 GB, free: 1.719 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1417, allocations: 326.8 kB / 0.5602 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.369e-05/0.1418, allocations: 19.98 kB / 0.5602 GB, free: 1.371 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.213e-05/0.1419, allocations: 23.98 kB / 0.5602 GB, free: 1.348 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.142, allocations: 48.83 kB / 0.5603 GB, free: 1.297 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.142, allocations: 0 / 0.5603 GB, free: 1.297 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001915/0.1422, allocations: 97.55 kB / 0.5603 GB, free: 1.195 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1422, allocations: 6.031 kB / 0.5604 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1423, allocations: 256 / 0.5604 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1423, allocations: 0 / 0.5604 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.697e-05/0.1423, allocations: 23.92 kB / 0.5604 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1423, allocations: 0 / 0.5604 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.096e-05/0.1424, allocations: 4 kB / 0.5604 GB, free: 1.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.1424, allocations: 0 / 0.5604 GB, free: 1.164 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 (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 9.854e-05/0.1425, allocations: 121.8 kB / 0.5605 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.1425, allocations: 15.89 kB / 0.5605 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.1428, allocations: 105.9 kB / 0.5606 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1428, allocations: 0 / 0.5606 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.1428, allocations: 0 / 0.5606 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1428, allocations: 0 / 0.5606 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.1432, allocations: 350.5 kB / 0.5609 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1432, allocations: 7.938 kB / 0.561 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.1433, allocations: 15.98 kB / 0.561 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1433, allocations: 0 / 0.561 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.1433, allocations: 0 / 0.561 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1433, allocations: 0 / 0.561 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1433, allocations: 7.938 kB / 0.561 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.1435, allocations: 179.5 kB / 0.5611 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.1436, allocations: 89.06 kB / 0.5612 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.1436, allocations: 0 / 0.5612 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.865e-05/0.1437, allocations: 4 kB / 0.5612 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.1437, allocations: 7.922 kB / 0.5612 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.1437, allocations: 8 kB / 0.5612 GB, free: 164 kB / 414.1 MB Notification: Performance of sorting global known variables: time 9.538e-05/0.1438, allocations: 111.2 kB / 0.5614 GB, free: 52 kB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1438, allocations: 4 kB / 0.5614 GB, free: 48 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.1441, allocations: 19.88 kB / 0.5614 GB, free: 28 kB / 414.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.001976/0.146, allocations: 1.021 MB / 0.5624 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.1462, allocations: 51.91 kB / 0.5624 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1462, allocations: 0 / 0.5624 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.583e-05/0.1463, allocations: 31.97 kB / 0.5625 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.1467, allocations: 14.75 kB / 0.5625 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.1485, allocations: 1.469 MB / 0.5639 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.1489, allocations: 0.6963 MB / 0.5646 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.68e-05/0.1489, allocations: 15.78 kB / 0.5646 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.503e-05/0.149, allocations: 31.42 kB / 0.5646 GB, free: 12.71 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.149, allocations: 0 / 0.5646 GB, free: 12.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.1737, allocations: 2.585 MB / 0.5672 GB, free: 10.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/8.144, allocations: 0 / 0.5672 GB, free: 10.17 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.301758636720479]