Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.00185/0.00185, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.002442/0.002442, allocations: 217.4 kB / 21.46 MB, free: 1.605 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.473/1.473, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2182/0.2182, allocations: 44.91 MB / 355.8 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 63.91 kB / 0.4886 GB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1272, allocations: 65.43 MB / 0.5525 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003861/0.1311, allocations: 1.603 MB / 0.554 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.1322, allocations: 0.5455 MB / 0.5546 GB, free: 7.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.255e-05/0.1323, allocations: 4 kB / 0.5546 GB, free: 7.922 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.1326, allocations: 19.86 kB / 0.5546 GB, free: 7.902 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.1329, allocations: 83.61 kB / 0.5547 GB, free: 7.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.1333, allocations: 115.7 kB / 0.5548 GB, free: 7.707 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.1335, allocations: 63.78 kB / 0.5548 GB, free: 7.645 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1336, allocations: 19.92 kB / 0.5549 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.269e-05/0.1337, allocations: 23.91 kB / 0.5549 GB, free: 7.602 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.576e-05/0.1337, allocations: 19.88 kB / 0.5549 GB, free: 7.582 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.1337, allocations: 0 / 0.5549 GB, free: 7.582 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.884e-05/0.1338, allocations: 35.98 kB / 0.5549 GB, free: 7.547 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.635e-05/0.1339, allocations: 15.92 kB / 0.5549 GB, free: 7.531 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.238e-05/0.1339, allocations: 27.8 kB / 0.555 GB, free: 7.504 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.1341, allocations: 91.59 kB / 0.5551 GB, free: 7.414 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1341, allocations: 0 / 0.5551 GB, free: 7.414 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1341, allocations: 0 / 0.5551 GB, free: 7.414 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.413e-06/0.1341, allocations: 0 / 0.5551 GB, free: 7.414 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.0005885/0.1347, allocations: 393.2 kB / 0.5554 GB, free: 6.984 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.1348, allocations: 8.031 kB / 0.5554 GB, free: 6.977 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.209e-05/0.1348, allocations: 4.188 kB / 0.5554 GB, free: 6.973 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.699e-05/0.1348, allocations: 34.75 kB / 0.5555 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.1349, allocations: 16.84 kB / 0.5555 GB, free: 6.914 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1351, allocations: 199.8 kB / 0.5557 GB, free: 6.684 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.1351, allocations: 7.938 kB / 0.5557 GB, free: 6.676 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.1352, allocations: 0 / 0.5557 GB, free: 6.676 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.1353, allocations: 53.56 kB / 0.5557 GB, free: 6.617 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1353, allocations: 0 / 0.5557 GB, free: 6.617 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1353, allocations: 4 kB / 0.5557 GB, free: 6.613 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1354, allocations: 3.984 kB / 0.5558 GB, free: 6.609 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.843e-05/0.1354, allocations: 23.98 kB / 0.5558 GB, free: 6.586 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004944/0.1359, allocations: 284.9 kB / 0.556 GB, free: 6.258 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.1362, allocations: 46.44 kB / 0.5561 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.156e-05/0.1362, allocations: 20.94 kB / 0.5561 GB, free: 6.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.1363, allocations: 0 / 0.5561 GB, free: 6.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.1363, allocations: 34.56 kB / 0.5561 GB, free: 6.137 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1363, allocations: 0 / 0.5561 GB, free: 6.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007192/0.137, allocations: 161.3 kB / 0.5563 GB, free: 5.973 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.137, allocations: 55.34 kB / 0.5564 GB, free: 5.906 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.1373, allocations: 173.5 kB / 0.5565 GB, free: 5.723 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.1373, allocations: 25.7 kB / 0.5565 GB, free: 5.691 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/0.1373, allocations: 108.1 kB / 0.5566 GB, free: 5.582 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.1374, allocations: 11.84 kB / 0.5567 GB, free: 5.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.1374, allocations: 21.7 kB / 0.5567 GB, free: 5.543 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1376, allocations: 318.8 kB / 0.557 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.467e-05/0.1377, allocations: 23.97 kB / 0.557 GB, free: 5.199 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.874e-05/0.1377, allocations: 20.17 kB / 0.557 GB, free: 5.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.1379, allocations: 64.77 kB / 0.5571 GB, free: 5.113 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1379, allocations: 0 / 0.5571 GB, free: 5.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002515/0.1381, allocations: 89.56 kB / 0.5572 GB, free: 5.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.1382, allocations: 8 kB / 0.5572 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1382, allocations: 0 / 0.5572 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.1382, allocations: 0 / 0.5572 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.194e-05/0.1383, allocations: 8 kB / 0.5572 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1383, allocations: 7.922 kB / 0.5572 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.328e-05/0.1383, allocations: 4 kB / 0.5572 GB, free: 4.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1383, allocations: 8 kB / 0.5572 GB, free: 4.984 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 0.0001128/0.1384, allocations: 120 kB / 0.5573 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.1385, allocations: 7.953 kB / 0.5573 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.1388, allocations: 101.9 kB / 0.5574 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1388, allocations: 0 / 0.5574 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.1388, allocations: 11.88 kB / 0.5574 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.1388, allocations: 3.984 kB / 0.5574 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005406/0.1393, allocations: 358.5 kB / 0.5578 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1393, allocations: 4 kB / 0.5578 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.275e-05/0.1394, allocations: 11.98 kB / 0.5578 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.1394, allocations: 4.219 kB / 0.5578 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.1394, allocations: 0 / 0.5578 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1394, allocations: 192 / 0.5578 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1394, allocations: 8 kB / 0.5578 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.1397, allocations: 187.5 kB / 0.558 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.1398, allocations: 92.95 kB / 0.5581 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.1398, allocations: 0 / 0.5581 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.1399, allocations: 4 kB / 0.5581 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.1399, allocations: 11.92 kB / 0.5581 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.1399, allocations: 0 / 0.5581 GB, free: 3.973 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.14, allocations: 135.2 kB / 0.5582 GB, free: 3.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.14, allocations: 8 kB / 0.5582 GB, free: 3.832 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000253/0.1403, allocations: 12 kB / 0.5582 GB, free: 3.82 MB / 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.002119/0.1424, allocations: 1.015 MB / 0.5592 GB, free: 2.941 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.1426, allocations: 59.89 kB / 0.5593 GB, free: 2.883 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1426, allocations: 0 / 0.5593 GB, free: 2.883 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.976e-05/0.1427, allocations: 23.98 kB / 0.5593 GB, free: 2.859 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.1432, allocations: 27.23 kB / 0.5593 GB, free: 2.836 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.1453, allocations: 1.528 MB / 0.5608 GB, free: 1.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.1456, allocations: 0.6963 MB / 0.5615 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.099e-05/0.1457, allocations: 12.06 kB / 0.5615 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.1458, allocations: 27.42 kB / 0.5615 GB, free: 480 kB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1458, allocations: 0 / 0.5615 GB, free: 480 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.1641, allocations: 2.73 MB / 0.5642 GB, free: 13.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.543/8.707, allocations: 9.875 kB / 0.5642 GB, free: 13.79 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.899010135966819]