Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001435/0.001435, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001347/0.001347, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.54/1.54, 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.2335/0.2335, allocations: 46.9 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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 79.88 kB / 0.4913 GB, free: 8.289 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1378, allocations: 66 MB / 0.5557 GB, free: 6.168 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003008/0.1408, allocations: 1.602 MB / 0.5573 GB, free: 4.551 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.1418, allocations: 0.5411 MB / 0.5578 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.065e-05/0.1419, allocations: 4 kB / 0.5578 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.1421, allocations: 23.8 kB / 0.5578 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.1423, allocations: 79.67 kB / 0.5579 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.1427, allocations: 119.6 kB / 0.558 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.1428, allocations: 59.78 kB / 0.5581 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.964e-05/0.1429, allocations: 15.98 kB / 0.5581 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.624e-05/0.1429, allocations: 23.91 kB / 0.5581 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.929e-05/0.143, allocations: 15.88 kB / 0.5581 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.143, allocations: 4 kB / 0.5581 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.697e-05/0.1431, allocations: 35.98 kB / 0.5582 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.284e-05/0.1431, allocations: 15.92 kB / 0.5582 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.353e-05/0.1432, allocations: 27.8 kB / 0.5582 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.1433, allocations: 79.61 kB / 0.5583 GB, free: 3.512 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1433, allocations: 4 kB / 0.5583 GB, free: 3.508 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1434, allocations: 0 / 0.5583 GB, free: 3.508 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.1434, allocations: 0 / 0.5583 GB, free: 3.508 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.0004726/0.1438, allocations: 383 kB / 0.5587 GB, free: 3.082 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1439, allocations: 8.031 kB / 0.5587 GB, free: 3.074 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.321e-05/0.1439, allocations: 38.75 kB / 0.5587 GB, free: 3.027 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.1439, allocations: 12.89 kB / 0.5587 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.1442, allocations: 194.4 kB / 0.5589 GB, free: 2.789 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1442, allocations: 4.375 kB / 0.5589 GB, free: 2.785 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.1442, allocations: 4.375 kB / 0.5589 GB, free: 2.781 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.1443, allocations: 50.17 kB / 0.559 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1443, allocations: 3.938 kB / 0.559 GB, free: 2.723 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.1444, allocations: 0 / 0.559 GB, free: 2.723 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1444, allocations: 4 kB / 0.559 GB, free: 2.719 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.187e-05/0.1445, allocations: 19.98 kB / 0.559 GB, free: 2.699 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.1449, allocations: 292.8 kB / 0.5593 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.1451, allocations: 46.48 kB / 0.5593 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.718e-05/0.1451, allocations: 20.94 kB / 0.5593 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.1452, allocations: 0 / 0.5593 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.1452, allocations: 34.56 kB / 0.5594 GB, free: 2.242 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.1452, allocations: 3.938 kB / 0.5594 GB, free: 2.238 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006206/0.1458, allocations: 153.4 kB / 0.5595 GB, free: 2.082 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.1459, allocations: 55.41 kB / 0.5596 GB, free: 2.016 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.146, allocations: 148.5 kB / 0.5597 GB, free: 1.859 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.1461, allocations: 29.7 kB / 0.5597 GB, free: 1.824 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.134e-05/0.1461, allocations: 100.1 kB / 0.5598 GB, free: 1.723 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.1461, allocations: 19.84 kB / 0.5598 GB, free: 1.703 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.1462, allocations: 17.72 kB / 0.5599 GB, free: 1.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1463, allocations: 326.8 kB / 0.5602 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.502e-05/0.1464, allocations: 19.98 kB / 0.5602 GB, free: 1.332 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.531e-05/0.1465, allocations: 19.98 kB / 0.5602 GB, free: 1.312 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.1466, allocations: 56.77 kB / 0.5603 GB, free: 1.254 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1466, allocations: 0 / 0.5603 GB, free: 1.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001984/0.1468, allocations: 85.61 kB / 0.5603 GB, free: 1.164 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1468, allocations: 4 kB / 0.5604 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1468, allocations: 0 / 0.5604 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1468, allocations: 0 / 0.5604 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.823e-05/0.1469, allocations: 15.98 kB / 0.5604 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1469, allocations: 0 / 0.5604 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.411e-05/0.147, allocations: 12 kB / 0.5604 GB, free: 1.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.147, allocations: 0 / 0.5604 GB, free: 1.133 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.783e-05/0.1471, allocations: 125.7 kB / 0.5605 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.1471, allocations: 7.953 kB / 0.5605 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.1474, allocations: 101.9 kB / 0.5606 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1474, allocations: 0 / 0.5606 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1474, allocations: 0 / 0.5606 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.1474, allocations: 3.984 kB / 0.5606 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004629/0.1478, allocations: 366.7 kB / 0.561 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1478, allocations: 64 / 0.561 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.588e-05/0.1479, allocations: 12 kB / 0.561 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1479, allocations: 0 / 0.561 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.1479, allocations: 7.984 kB / 0.561 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1479, allocations: 0 / 0.561 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.1479, allocations: 3.938 kB / 0.561 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.1482, allocations: 187.5 kB / 0.5612 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.1482, allocations: 81.06 kB / 0.5612 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.1482, allocations: 0 / 0.5612 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.892e-05/0.1483, allocations: 4 kB / 0.5612 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.1483, allocations: 11.92 kB / 0.5613 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.1483, allocations: 0 / 0.5613 GB, free: 132 kB / 414.1 MB Notification: Performance of sorting global known variables: time 9.309e-05/0.1484, allocations: 119.2 kB / 0.5614 GB, free: 12 kB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1484, allocations: 4 kB / 0.5614 GB, free: 8 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1487, allocations: 23.91 kB / 0.5614 GB, free: 15.98 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.001966/0.1507, allocations: 1.006 MB / 0.5624 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.1509, allocations: 59.91 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1509, allocations: 0 / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.15e-05/0.151, allocations: 27.97 kB / 0.5625 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.1513, allocations: 15.94 kB / 0.5625 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.1532, allocations: 1.469 MB / 0.5639 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.1535, allocations: 0.6885 MB / 0.5646 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.835e-05/0.1536, allocations: 15.77 kB / 0.5646 GB, free: 12.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.91e-05/0.1536, allocations: 27.42 kB / 0.5646 GB, free: 12.69 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1536, allocations: 0 / 0.5646 GB, free: 12.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.1781, allocations: 2.584 MB / 0.5671 GB, free: 10.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.133, allocations: 4 kB / 0.5671 GB, free: 10.14 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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: 11.294623258057982]