Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 117.6 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.605/1.605, allocations: 225.6 MB / 249.8 MB, free: 3.5 MB / 190.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.2498/0.2498, allocations: 44.92 MB / 349.6 MB, free: 1.734 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 68.45 kB / 491.8 MB, free: 30.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1434, allocations: 64.25 MB / 0.543 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003139/0.1466, allocations: 1.563 MB / 0.5445 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008558/0.1474, allocations: 403.2 kB / 0.5449 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.911e-05/0.1475, allocations: 0 / 0.5449 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.1477, allocations: 31.83 kB / 0.545 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.1479, allocations: 43.78 kB / 0.545 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.1482, allocations: 75.77 kB / 0.5451 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.1483, allocations: 63.78 kB / 0.5451 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1484, allocations: 23.91 kB / 0.5452 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.516e-05/0.1485, allocations: 15.94 kB / 0.5452 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.885e-05/0.1485, allocations: 19.86 kB / 0.5452 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.1485, allocations: 4 kB / 0.5452 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.811e-05/0.1486, allocations: 27.98 kB / 0.5452 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.269e-05/0.1487, allocations: 19.91 kB / 0.5452 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.1487, allocations: 19.81 kB / 0.5453 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.1489, allocations: 75.67 kB / 0.5453 GB, free: 1.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1489, allocations: 0 / 0.5453 GB, free: 1.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1489, allocations: 0 / 0.5453 GB, free: 1.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1489, allocations: 4 kB / 0.5453 GB, free: 1.727 MB / 398.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.0005222/0.1494, allocations: 390.9 kB / 0.5457 GB, free: 1.297 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1495, allocations: 8.031 kB / 0.5457 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.501e-05/0.1495, allocations: 34.75 kB / 0.5457 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.1495, allocations: 12.84 kB / 0.5458 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.1498, allocations: 190 kB / 0.5459 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1498, allocations: 4.359 kB / 0.5459 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.1498, allocations: 4.375 kB / 0.5459 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1499, allocations: 57.56 kB / 0.546 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1499, allocations: 0 / 0.546 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1499, allocations: 4 kB / 0.546 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.15, allocations: 0 / 0.546 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.711e-05/0.15, allocations: 19.97 kB / 0.546 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.1504, allocations: 284.8 kB / 0.5463 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.1506, allocations: 50.48 kB / 0.5463 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/0.1507, allocations: 8.859 kB / 0.5464 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.1507, allocations: 4 kB / 0.5464 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1507, allocations: 34.56 kB / 0.5464 GB, free: 484 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1507, allocations: 0 / 0.5464 GB, free: 484 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005325/0.1512, allocations: 133.5 kB / 0.5465 GB, free: 344 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.1513, allocations: 59.41 kB / 0.5466 GB, free: 272 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.1515, allocations: 164 kB / 0.5467 GB, free: 100 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.1515, allocations: 25.7 kB / 0.5468 GB, free: 68 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.2e-05/0.1516, allocations: 104.1 kB / 0.5469 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.1516, allocations: 15.84 kB / 0.5469 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.1516, allocations: 21.7 kB / 0.5469 GB, free: 15.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.1518, allocations: 318.8 kB / 0.5472 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.129e-05/0.1519, allocations: 23.98 kB / 0.5472 GB, free: 15.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.264e-05/0.1519, allocations: 15.98 kB / 0.5472 GB, free: 15.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.152, allocations: 44.83 kB / 0.5473 GB, free: 15.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.152, allocations: 0 / 0.5473 GB, free: 15.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001798/0.1522, allocations: 89.44 kB / 0.5474 GB, free: 15.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1522, allocations: 6.031 kB / 0.5474 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1523, allocations: 4 kB / 0.5474 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.1523, allocations: 4 kB / 0.5474 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.011e-05/0.1523, allocations: 11.98 kB / 0.5474 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1523, allocations: 0 / 0.5474 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.09e-05/0.1524, allocations: 11.98 kB / 0.5474 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.1524, allocations: 3.938 kB / 0.5474 GB, free: 15.38 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.0001076/0.1525, allocations: 117.8 kB / 0.5475 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.1525, allocations: 7.953 kB / 0.5475 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.1528, allocations: 97.89 kB / 0.5476 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.1528, allocations: 0 / 0.5476 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1528, allocations: 0 / 0.5476 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1528, allocations: 4.297 kB / 0.5476 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/0.1533, allocations: 354.5 kB / 0.548 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1533, allocations: 0 / 0.548 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.526e-05/0.1534, allocations: 15.94 kB / 0.548 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.1534, allocations: 7.984 kB / 0.548 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.1534, allocations: 0 / 0.548 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1534, allocations: 3.938 kB / 0.548 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1534, allocations: 0 / 0.548 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.1536, allocations: 171.5 kB / 0.5481 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.858e-05/0.1537, allocations: 85.06 kB / 0.5482 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.1537, allocations: 0 / 0.5482 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.1538, allocations: 20.2 kB / 0.5482 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.1538, allocations: 0 / 0.5482 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.1538, allocations: 4 kB / 0.5483 GB, free: 14.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.154, allocations: 127.2 kB / 0.5484 GB, free: 14.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.154, allocations: 0 / 0.5484 GB, free: 14.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.1542, allocations: 15.98 kB / 0.5484 GB, free: 14.25 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.001989/0.1562, allocations: 1.02 MB / 0.5494 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.1564, allocations: 43.97 kB / 0.5494 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.1564, allocations: 0 / 0.5494 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.212e-05/0.1565, allocations: 27.92 kB / 0.5495 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.1568, allocations: 21.42 kB / 0.5495 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.1586, allocations: 1.472 MB / 0.5509 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.159, allocations: 0.6963 MB / 0.5516 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.272e-05/0.159, allocations: 4 kB / 0.5516 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.1591, allocations: 31.36 kB / 0.5516 GB, free: 10.98 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1591, allocations: 0 / 0.5516 GB, free: 10.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.1829, allocations: 2.592 MB / 0.5542 GB, free: 8.418 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.941/8.124, allocations: 2.109 kB / 0.5542 GB, free: 8.418 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.394424282945693]