Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.001393/0.001393, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001421/0.001421, allocations: 219 kB / 21.46 MB, free: 1.586 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.478/1.478, 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.2197/0.2197, allocations: 44.9 MB / 355.8 MB, free: 12.32 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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11",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.002664/0.002664, allocations: 67.91 kB / 0.4886 GB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1177, allocations: 65.42 MB / 0.5525 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003229/0.1209, allocations: 1.605 MB / 0.554 GB, free: 8.496 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.122, allocations: 0.5494 MB / 0.5546 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.04e-05/0.1221, allocations: 0 / 0.5546 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.1223, allocations: 19.86 kB / 0.5546 GB, free: 7.922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.1227, allocations: 83.61 kB / 0.5547 GB, free: 7.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.1231, allocations: 115.7 kB / 0.5548 GB, free: 7.727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.1233, allocations: 67.78 kB / 0.5548 GB, free: 7.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1234, allocations: 15.92 kB / 0.5549 GB, free: 7.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.96e-05/0.1235, allocations: 19.92 kB / 0.5549 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.21e-05/0.1236, allocations: 23.86 kB / 0.5549 GB, free: 7.602 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.1236, allocations: 4 kB / 0.5549 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1237, allocations: 31.98 kB / 0.5549 GB, free: 7.566 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.258e-05/0.1237, allocations: 19.91 kB / 0.5549 GB, free: 7.547 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.324e-05/0.1238, allocations: 23.81 kB / 0.555 GB, free: 7.523 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.124, allocations: 87.59 kB / 0.5551 GB, free: 7.438 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.124, allocations: 4 kB / 0.5551 GB, free: 7.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.124, allocations: 0 / 0.5551 GB, free: 7.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.124, allocations: 0 / 0.5551 GB, free: 7.434 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.0005341/0.1245, allocations: 390.9 kB / 0.5554 GB, free: 7.004 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1246, allocations: 12.03 kB / 0.5554 GB, free: 6.992 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.031e-05/0.1246, allocations: 192 / 0.5554 GB, free: 6.992 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.105e-05/0.1246, allocations: 34.75 kB / 0.5555 GB, free: 6.949 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.1247, allocations: 12.84 kB / 0.5555 GB, free: 6.938 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.1249, allocations: 204.8 kB / 0.5557 GB, free: 6.699 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.1249, allocations: 3.938 kB / 0.5557 GB, free: 6.695 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.1249, allocations: 3.938 kB / 0.5557 GB, free: 6.691 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.1251, allocations: 49.62 kB / 0.5557 GB, free: 6.637 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1251, allocations: 0 / 0.5557 GB, free: 6.637 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.1251, allocations: 7.938 kB / 0.5557 GB, free: 6.629 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1251, allocations: 0 / 0.5557 GB, free: 6.629 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.934e-05/0.1252, allocations: 27.97 kB / 0.5558 GB, free: 6.602 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.1256, allocations: 280.9 kB / 0.556 GB, free: 6.277 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.1258, allocations: 46.48 kB / 0.5561 GB, free: 6.223 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.679e-05/0.1259, allocations: 16.95 kB / 0.5561 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.1259, allocations: 3.984 kB / 0.5561 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.126, allocations: 38.55 kB / 0.5561 GB, free: 6.152 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.126, allocations: 4 kB / 0.5561 GB, free: 6.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006572/0.1266, allocations: 157.3 kB / 0.5563 GB, free: 5.988 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.1267, allocations: 55.34 kB / 0.5563 GB, free: 5.922 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.1269, allocations: 177.3 kB / 0.5565 GB, free: 5.734 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.1269, allocations: 25.7 kB / 0.5565 GB, free: 5.703 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.407e-05/0.127, allocations: 100.1 kB / 0.5566 GB, free: 5.602 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.127, allocations: 19.84 kB / 0.5567 GB, free: 5.582 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.1271, allocations: 13.72 kB / 0.5567 GB, free: 5.562 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1272, allocations: 322.8 kB / 0.557 GB, free: 5.238 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.209e-05/0.1273, allocations: 19.98 kB / 0.557 GB, free: 5.219 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-05/0.1274, allocations: 23.97 kB / 0.557 GB, free: 5.195 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.1275, allocations: 60.95 kB / 0.5571 GB, free: 5.133 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1275, allocations: 4 kB / 0.5571 GB, free: 5.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000218/0.1277, allocations: 89.58 kB / 0.5572 GB, free: 5.035 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1278, allocations: 7.984 kB / 0.5572 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1278, allocations: 0 / 0.5572 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1278, allocations: 0 / 0.5572 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.063e-05/0.1279, allocations: 12 kB / 0.5572 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1279, allocations: 3.938 kB / 0.5572 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.359e-05/0.1279, allocations: 3.984 kB / 0.5572 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.1279, allocations: 8 kB / 0.5572 GB, free: 5 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.529e-05/0.128, allocations: 120 kB / 0.5573 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.128, allocations: 15.94 kB / 0.5573 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.1283, allocations: 97.91 kB / 0.5574 GB, free: 4.758 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1283, allocations: 0 / 0.5574 GB, free: 4.758 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1283, allocations: 3.938 kB / 0.5574 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1283, allocations: 0 / 0.5574 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005044/0.1288, allocations: 370.4 kB / 0.5578 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1288, allocations: 0 / 0.5578 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.812e-05/0.1289, allocations: 8 kB / 0.5578 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1289, allocations: 3.938 kB / 0.5578 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1289, allocations: 11.92 kB / 0.5578 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1289, allocations: 192 / 0.5578 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1289, allocations: 0 / 0.5578 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.1292, allocations: 191.5 kB / 0.558 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.316e-05/0.1292, allocations: 88.95 kB / 0.5581 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1293, allocations: 4 kB / 0.5581 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.836e-05/0.1293, allocations: 0 / 0.5581 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.1294, allocations: 7.984 kB / 0.5581 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.1294, allocations: 0 / 0.5581 GB, free: 3.992 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.1295, allocations: 142.6 kB / 0.5582 GB, free: 3.855 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1295, allocations: 0 / 0.5582 GB, free: 3.855 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1298, allocations: 20 kB / 0.5582 GB, free: 3.836 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.0021/0.1319, allocations: 1.011 MB / 0.5592 GB, free: 2.961 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002624/0.1321, allocations: 55.89 kB / 0.5593 GB, free: 2.906 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1321, allocations: 3.938 kB / 0.5593 GB, free: 2.902 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.842e-05/0.1322, allocations: 23.98 kB / 0.5593 GB, free: 2.879 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.1326, allocations: 23.58 kB / 0.5593 GB, free: 2.859 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.1348, allocations: 1.528 MB / 0.5608 GB, free: 1.254 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.1352, allocations: 0.6981 MB / 0.5615 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.26e-05/0.1352, allocations: 20.05 kB / 0.5615 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.417e-05/0.1353, allocations: 27.42 kB / 0.5615 GB, free: 496 kB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1353, allocations: 0 / 0.5615 GB, free: 496 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.154, allocations: 2.733 MB / 0.5642 GB, free: 13.81 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.572/8.726, allocations: 4.047 kB / 0.5642 GB, free: 13.8 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.838627699995413]