Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001508/0.001508, allocations: 119 kB / 18.5 MB, free: 4.434 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.001684/0.001684, allocations: 190.9 kB / 21.44 MB, free: 1.504 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.464/1.464, allocations: 225.6 MB / 249.8 MB, free: 3.617 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.2308/0.2308, allocations: 44.92 MB / 349.6 MB, free: 1.719 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.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 64.34 kB / 491.8 MB, free: 30.08 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1186, allocations: 64.25 MB / 0.543 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003011/0.1217, allocations: 1.578 MB / 0.5446 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008135/0.1225, allocations: 415.5 kB / 0.545 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.306e-05/0.1225, allocations: 0 / 0.545 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.1227, allocations: 23.86 kB / 0.545 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.1229, allocations: 35.78 kB / 0.545 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.1233, allocations: 107.7 kB / 0.5451 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.1234, allocations: 51.91 kB / 0.5452 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.496e-05/0.1235, allocations: 15.88 kB / 0.5452 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.493e-05/0.1235, allocations: 27.84 kB / 0.5452 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.572e-05/0.1236, allocations: 23.86 kB / 0.5452 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.1236, allocations: 0 / 0.5452 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.318e-05/0.1237, allocations: 31.98 kB / 0.5453 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.086e-05/0.1237, allocations: 11.94 kB / 0.5453 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.1238, allocations: 19.86 kB / 0.5453 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.1239, allocations: 71.73 kB / 0.5454 GB, free: 1.805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1239, allocations: 4 kB / 0.5454 GB, free: 1.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1239, allocations: 0 / 0.5454 GB, free: 1.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1239, allocations: 0 / 0.5454 GB, free: 1.801 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.0004736/0.1244, allocations: 386.9 kB / 0.5457 GB, free: 1.375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1244, allocations: 8.031 kB / 0.5457 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.864e-05/0.1245, allocations: 34.75 kB / 0.5458 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.1245, allocations: 8.891 kB / 0.5458 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.1247, allocations: 184.3 kB / 0.546 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1247, allocations: 4.375 kB / 0.546 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.1247, allocations: 4.375 kB / 0.546 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.1249, allocations: 45.62 kB / 0.546 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1249, allocations: 0 / 0.546 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.1249, allocations: 8 kB / 0.546 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.1249, allocations: 0 / 0.546 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.159e-05/0.125, allocations: 27.91 kB / 0.546 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.1254, allocations: 292.8 kB / 0.5463 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.1256, allocations: 38.56 kB / 0.5464 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.293e-05/0.1256, allocations: 24.86 kB / 0.5464 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.1256, allocations: 4 kB / 0.5464 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1257, allocations: 30.56 kB / 0.5464 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1257, allocations: 0 / 0.5464 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005166/0.1262, allocations: 145.5 kB / 0.5465 GB, free: 412 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.1262, allocations: 55.41 kB / 0.5466 GB, free: 344 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.1264, allocations: 140.4 kB / 0.5467 GB, free: 192 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1264, allocations: 29.7 kB / 0.5468 GB, free: 156 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.1264, allocations: 92.08 kB / 0.5469 GB, free: 60 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.1264, allocations: 19.84 kB / 0.5469 GB, free: 40 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.1265, allocations: 21.72 kB / 0.5469 GB, free: 12 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1266, allocations: 330.7 kB / 0.5472 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.822e-05/0.1267, allocations: 19.98 kB / 0.5472 GB, free: 15.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.279e-05/0.1268, allocations: 24.05 kB / 0.5472 GB, free: 15.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.1269, allocations: 48.83 kB / 0.5473 GB, free: 15.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1269, allocations: 3.984 kB / 0.5473 GB, free: 15.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002129/0.1271, allocations: 89.56 kB / 0.5474 GB, free: 15.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1271, allocations: 11.94 kB / 0.5474 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1271, allocations: 0 / 0.5474 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1271, allocations: 0 / 0.5474 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.516e-05/0.1272, allocations: 11.98 kB / 0.5474 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1272, allocations: 0 / 0.5474 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/0.1272, allocations: 4 kB / 0.5474 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.1273, allocations: 11.94 kB / 0.5474 GB, free: 15.45 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.541e-05/0.1274, allocations: 121.8 kB / 0.5475 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.1274, allocations: 7.953 kB / 0.5475 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.1276, allocations: 93.91 kB / 0.5476 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1276, allocations: 0 / 0.5476 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.1276, allocations: 4 kB / 0.5476 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1276, allocations: 3.984 kB / 0.5476 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/0.1281, allocations: 342.5 kB / 0.548 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1281, allocations: 4 kB / 0.548 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.768e-05/0.1281, allocations: 16.3 kB / 0.548 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1281, allocations: 3.938 kB / 0.548 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.1282, allocations: 4 kB / 0.548 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.1282, allocations: 3.938 kB / 0.548 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1282, allocations: 4 kB / 0.548 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.1284, allocations: 179.5 kB / 0.5482 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/0.1284, allocations: 85.06 kB / 0.5483 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.1284, allocations: 0 / 0.5483 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.1285, allocations: 15.92 kB / 0.5483 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.1285, allocations: 0 / 0.5483 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.1286, allocations: 4 kB / 0.5483 GB, free: 14.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.697e-05/0.1286, allocations: 111.2 kB / 0.5484 GB, free: 14.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1286, allocations: 0 / 0.5484 GB, free: 14.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.1289, allocations: 15.94 kB / 0.5484 GB, free: 14.34 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.001964/0.1308, allocations: 1.024 MB / 0.5494 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.131, allocations: 47.97 kB / 0.5494 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.131, allocations: 4 kB / 0.5494 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.807e-05/0.1311, allocations: 27.92 kB / 0.5495 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.1315, allocations: 23.83 kB / 0.5495 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.1331, allocations: 1.427 MB / 0.5509 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.1335, allocations: 0.6922 MB / 0.5516 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.755e-05/0.1335, allocations: 15.98 kB / 0.5516 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.1336, allocations: 23.42 kB / 0.5516 GB, free: 11.1 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1336, allocations: 0 / 0.5516 GB, free: 11.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.1569, allocations: 2.504 MB / 0.554 GB, free: 8.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/7.99, allocations: 18.08 kB / 0.5541 GB, free: 8.613 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.113178841304034]