Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001349/0.001349, allocations: 122.2 kB / 18.5 MB, free: 4.562 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.001638/0.001638, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.507/1.507, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.2267/0.2267, allocations: 46.91 MB / 357.8 MB, free: 10.36 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.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 60.05 kB / 0.4916 GB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1313, allocations: 65.99 MB / 0.5561 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003518/0.1348, allocations: 1.637 MB / 0.5577 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.1359, allocations: 0.5494 MB / 0.5582 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.865e-05/0.136, allocations: 3.938 kB / 0.5582 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.1363, allocations: 91.75 kB / 0.5583 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.1366, allocations: 119.5 kB / 0.5584 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.137, allocations: 103.5 kB / 0.5585 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.1372, allocations: 91.73 kB / 0.5586 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.1373, allocations: 15.98 kB / 0.5586 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.195e-05/0.1373, allocations: 47.78 kB / 0.5587 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.1375, allocations: 55.81 kB / 0.5587 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.1375, allocations: 4 kB / 0.5587 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1376, allocations: 47.97 kB / 0.5588 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.599e-05/0.1376, allocations: 23.92 kB / 0.5588 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/0.1377, allocations: 27.75 kB / 0.5588 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.1379, allocations: 115.4 kB / 0.5589 GB, free: 2.918 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1379, allocations: 0 / 0.5589 GB, free: 2.918 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1379, allocations: 3.938 kB / 0.5589 GB, free: 2.914 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1379, allocations: 0 / 0.5589 GB, free: 2.914 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.0006564/0.1386, allocations: 426.7 kB / 0.5593 GB, free: 2.449 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.1386, allocations: 8.031 kB / 0.5593 GB, free: 2.441 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.44e-05/0.1386, allocations: 4.188 kB / 0.5594 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.376e-05/0.1387, allocations: 38.69 kB / 0.5594 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.1387, allocations: 12.84 kB / 0.5594 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.1389, allocations: 204.2 kB / 0.5596 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.1389, allocations: 4.359 kB / 0.5596 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.139, allocations: 12.08 kB / 0.5596 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.1391, allocations: 61.61 kB / 0.5597 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1391, allocations: 0 / 0.5597 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.1391, allocations: 0 / 0.5597 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1391, allocations: 0 / 0.5597 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.722e-05/0.1392, allocations: 27.97 kB / 0.5597 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.1397, allocations: 304.8 kB / 0.56 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.1398, allocations: 54.5 kB / 0.56 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.035e-05/0.1398, allocations: 12.94 kB / 0.5601 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.1398, allocations: 4 kB / 0.5601 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.1399, allocations: 34.56 kB / 0.5601 GB, free: 1.559 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1399, allocations: 0 / 0.5601 GB, free: 1.559 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000985/0.1409, allocations: 241.1 kB / 0.5603 GB, free: 1.316 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.1409, allocations: 59.34 kB / 0.5604 GB, free: 1.246 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.1412, allocations: 230.7 kB / 0.5606 GB, free: 1.008 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.1412, allocations: 25.7 kB / 0.5606 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.711e-05/0.1413, allocations: 108.1 kB / 0.5607 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.1413, allocations: 31.73 kB / 0.5608 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.1414, allocations: 25.72 kB / 0.5608 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1415, allocations: 322.8 kB / 0.5611 GB, free: 492 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.444e-05/0.1416, allocations: 31.97 kB / 0.5611 GB, free: 460 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.873e-05/0.1417, allocations: 31.92 kB / 0.5611 GB, free: 428 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.1419, allocations: 81.09 kB / 0.5612 GB, free: 344 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1419, allocations: 0 / 0.5612 GB, free: 344 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002527/0.1422, allocations: 113.6 kB / 0.5613 GB, free: 224 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1422, allocations: 8 kB / 0.5613 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.1422, allocations: 0 / 0.5613 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1422, allocations: 3.938 kB / 0.5613 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1423, allocations: 15.98 kB / 0.5614 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1423, allocations: 7.875 kB / 0.5614 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.1424, allocations: 8 kB / 0.5614 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1424, allocations: 7.984 kB / 0.5614 GB, free: 172 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.0001334/0.1425, allocations: 133.1 kB / 0.5615 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.1426, allocations: 11.95 kB / 0.5615 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000365/0.1429, allocations: 134.9 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1429, allocations: 4 kB / 0.5617 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.1429, allocations: 3.938 kB / 0.5617 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1429, allocations: 0 / 0.5617 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006484/0.1436, allocations: 427.7 kB / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.1436, allocations: 3.938 kB / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.901e-05/0.1437, allocations: 19.94 kB / 0.5621 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1437, allocations: 3.984 kB / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1437, allocations: 4 kB / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1437, allocations: 0 / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1437, allocations: 0 / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.144, allocations: 220.3 kB / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.347e-05/0.1441, allocations: 89 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.1441, allocations: 7.922 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.52e-05/0.1442, allocations: 8 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.1442, allocations: 4 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.1442, allocations: 7.984 kB / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.1444, allocations: 175.2 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1444, allocations: 4 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.1447, allocations: 23.94 kB / 0.5626 GB, free: 14.79 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.002253/0.1469, allocations: 1.112 MB / 0.5637 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.1472, allocations: 63.95 kB / 0.5638 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/0.1472, allocations: 4 kB / 0.5638 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.1473, allocations: 43.91 kB / 0.5638 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.1477, allocations: 23.73 kB / 0.5638 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.1501, allocations: 1.751 MB / 0.5655 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.1505, allocations: 0.7119 MB / 0.5662 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.016e-05/0.1505, allocations: 20.95 kB / 0.5662 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.262e-05/0.1506, allocations: 39.42 kB / 0.5663 GB, free: 11.07 MB / 430.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1506, allocations: 0 / 0.5663 GB, free: 11.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.1696, allocations: 3.323 MB / 0.5695 GB, free: 7.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.5/8.669, allocations: 11.98 kB / 0.5695 GB, free: 7.809 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.827603336016182]