Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001375/0.001375, allocations: 118.3 kB / 18.49 MB, free: 4.535 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.001591/0.001591, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.461/1.461, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.227/0.227, allocations: 46.92 MB / 357.7 MB, free: 10.19 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.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 87.86 kB / 0.4917 GB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1346, allocations: 66.05 MB / 0.5562 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.00361/0.1382, allocations: 1.602 MB / 0.5577 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1394, allocations: 0.5565 MB / 0.5583 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.08e-05/0.1394, allocations: 0 / 0.5583 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.1397, allocations: 31.83 kB / 0.5583 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003627/0.14, allocations: 75.62 kB / 0.5584 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.1404, allocations: 87.77 kB / 0.5585 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.1406, allocations: 79.69 kB / 0.5586 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1407, allocations: 15.98 kB / 0.5586 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.684e-05/0.1408, allocations: 27.92 kB / 0.5586 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.207e-05/0.1409, allocations: 31.84 kB / 0.5586 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1409, allocations: 4 kB / 0.5586 GB, free: 3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.1411, allocations: 111.8 kB / 0.5587 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.946e-05/0.1411, allocations: 8 kB / 0.5587 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.054e-05/0.1412, allocations: 35.78 kB / 0.5588 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.1415, allocations: 143.5 kB / 0.5589 GB, free: 2.707 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1415, allocations: 0 / 0.5589 GB, free: 2.707 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1415, allocations: 0 / 0.5589 GB, free: 2.707 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.1415, allocations: 0 / 0.5589 GB, free: 2.707 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006363/0.1421, allocations: 422.6 kB / 0.5593 GB, free: 2.242 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.1422, allocations: 12.03 kB / 0.5593 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.415e-05/0.1422, allocations: 4.125 kB / 0.5593 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.835e-05/0.1422, allocations: 34.75 kB / 0.5594 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.1423, allocations: 8.891 kB / 0.5594 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.1426, allocations: 198 kB / 0.5596 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1426, allocations: 4.375 kB / 0.5596 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.1426, allocations: 4.375 kB / 0.5596 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1428, allocations: 75.64 kB / 0.5596 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1428, allocations: 0 / 0.5596 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.1428, allocations: 4 kB / 0.5596 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1428, allocations: 0 / 0.5596 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.1429, allocations: 31.97 kB / 0.5597 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.1434, allocations: 296.8 kB / 0.56 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.1436, allocations: 66.48 kB / 0.56 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.129e-05/0.1436, allocations: 20.98 kB / 0.56 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.1437, allocations: 3.984 kB / 0.56 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.1437, allocations: 30.56 kB / 0.5601 GB, free: 1.336 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1437, allocations: 0 / 0.5601 GB, free: 1.336 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006902/0.1444, allocations: 197.4 kB / 0.5603 GB, free: 1.137 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.1444, allocations: 77.11 kB / 0.5603 GB, free: 1.043 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.1446, allocations: 156.7 kB / 0.5605 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.1446, allocations: 29.7 kB / 0.5605 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.1447, allocations: 96.09 kB / 0.5606 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.1447, allocations: 23.84 kB / 0.5606 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.958e-05/0.1448, allocations: 25.72 kB / 0.5607 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1449, allocations: 322.8 kB / 0.561 GB, free: 376 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.296e-05/0.145, allocations: 35.97 kB / 0.561 GB, free: 340 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.1451, allocations: 49.62 kB / 0.561 GB, free: 284 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.1453, allocations: 65.02 kB / 0.5611 GB, free: 216 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1453, allocations: 3.938 kB / 0.5611 GB, free: 212 kB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002477/0.1455, allocations: 121.5 kB / 0.5612 GB, free: 84 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1456, allocations: 7.938 kB / 0.5612 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1456, allocations: 0 / 0.5612 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.1456, allocations: 4 kB / 0.5612 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.1457, allocations: 15.98 kB / 0.5613 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1457, allocations: 4 kB / 0.5613 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.49e-05/0.1458, allocations: 15.92 kB / 0.5613 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.1458, allocations: 0 / 0.5613 GB, free: 36 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 (9): * Single equations (assignments): 9 * 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.0001222/0.1459, allocations: 121.8 kB / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.1459, allocations: 7.953 kB / 0.5614 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.1462, allocations: 118.3 kB / 0.5615 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1462, allocations: 4 kB / 0.5615 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1462, allocations: 0 / 0.5615 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1462, allocations: 0 / 0.5615 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005489/0.1468, allocations: 402.3 kB / 0.5619 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.1468, allocations: 3.984 kB / 0.5619 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-05/0.1468, allocations: 16 kB / 0.5619 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1468, allocations: 0 / 0.5619 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1469, allocations: 8.359 kB / 0.5619 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1469, allocations: 3.938 kB / 0.5619 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1469, allocations: 4 kB / 0.5619 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.1472, allocations: 203.4 kB / 0.5621 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/0.1472, allocations: 85.06 kB / 0.5622 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.1472, allocations: 0 / 0.5622 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.177e-05/0.1473, allocations: 15.92 kB / 0.5622 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.1473, allocations: 4 kB / 0.5622 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.1474, allocations: 3.984 kB / 0.5622 GB, free: 14.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.1475, allocations: 119.2 kB / 0.5623 GB, free: 14.83 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1475, allocations: 0 / 0.5623 GB, free: 14.83 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.1478, allocations: 51.86 kB / 0.5624 GB, free: 14.78 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.002247/0.15, allocations: 1.126 MB / 0.5635 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.1503, allocations: 67.95 kB / 0.5636 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1503, allocations: 0 / 0.5636 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.33e-05/0.1503, allocations: 31.92 kB / 0.5636 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.1507, allocations: 25.47 kB / 0.5636 GB, free: 13.67 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.1526, allocations: 1.554 MB / 0.5651 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.153, allocations: 0.7 MB / 0.5658 GB, free: 11.31 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.718e-05/0.1531, allocations: 24.5 kB / 0.5658 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.1531, allocations: 35.36 kB / 0.5659 GB, free: 11.25 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1531, allocations: 0 / 0.5659 GB, free: 11.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.1727, allocations: 3.626 MB / 0.5694 GB, free: 7.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/8.109, allocations: 4.156 kB / 0.5694 GB, free: 7.656 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.148787142010406]