Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.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.001796/0.001796, allocations: 109 kB / 20.48 MB, free: 1.492 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.002535/0.002535, allocations: 214.1 kB / 23.79 MB, free: 4.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 207.6 MB / 234.6 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2393/0.2393, allocations: 44.24 MB / 331.1 MB, free: 9.527 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.003157/0.003157, allocations: 67.91 kB / 468.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1483, allocations: 61.05 MB / 0.5169 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.003868/0.1522, allocations: 1.579 MB / 0.5185 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000809/0.153, allocations: 328.6 kB / 0.5188 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.302e-05/0.1531, allocations: 0 / 0.5188 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004112/0.1535, allocations: 115.7 kB / 0.5189 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000243/0.1537, allocations: 71.72 kB / 0.519 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.154, allocations: 75.84 kB / 0.519 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.1542, allocations: 71.81 kB / 0.5191 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1544, allocations: 15.97 kB / 0.5191 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.75e-05/0.1545, allocations: 43.83 kB / 0.5192 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.1546, allocations: 63.86 kB / 0.5192 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.1546, allocations: 4 kB / 0.5192 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.71e-05/0.1547, allocations: 35.92 kB / 0.5193 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.424e-05/0.1548, allocations: 19.92 kB / 0.5193 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.457e-05/0.1548, allocations: 31.69 kB / 0.5193 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.1551, allocations: 99.58 kB / 0.5194 GB, free: 4.766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1551, allocations: 4 kB / 0.5194 GB, free: 4.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1551, allocations: 0 / 0.5194 GB, free: 4.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1551, allocations: 0 / 0.5194 GB, free: 4.762 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.0005382/0.1556, allocations: 333.7 kB / 0.5197 GB, free: 4.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1557, allocations: 8.031 kB / 0.5197 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.835e-05/0.1557, allocations: 192 / 0.5197 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.751e-05/0.1557, allocations: 42.61 kB / 0.5198 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.745e-05/0.1558, allocations: 20.78 kB / 0.5198 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.156, allocations: 146.3 kB / 0.5199 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.156, allocations: 4.375 kB / 0.5199 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.156, allocations: 8.125 kB / 0.5199 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.1562, allocations: 45.69 kB / 0.52 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.1562, allocations: 3.984 kB / 0.52 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1563, allocations: 0 / 0.52 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1563, allocations: 0 / 0.52 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.1564, allocations: 23.98 kB / 0.52 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/0.1568, allocations: 263.9 kB / 0.5203 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.1571, allocations: 38.56 kB / 0.5203 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/0.1571, allocations: 12.94 kB / 0.5203 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.1571, allocations: 4 kB / 0.5203 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.1572, allocations: 34.56 kB / 0.5203 GB, free: 3.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1572, allocations: 0 / 0.5203 GB, free: 3.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006595/0.1578, allocations: 149.3 kB / 0.5205 GB, free: 3.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.1579, allocations: 51.41 kB / 0.5205 GB, free: 3.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.1582, allocations: 238.8 kB / 0.5208 GB, free: 3.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.1582, allocations: 25.7 kB / 0.5208 GB, free: 3.164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.695e-05/0.1583, allocations: 112.1 kB / 0.5209 GB, free: 3.051 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.1583, allocations: 23.78 kB / 0.5209 GB, free: 3.027 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.1584, allocations: 17.72 kB / 0.5209 GB, free: 3.004 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.1586, allocations: 330.8 kB / 0.5213 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-05/0.1587, allocations: 15.98 kB / 0.5213 GB, free: 2.656 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.603e-05/0.1587, allocations: 19.98 kB / 0.5213 GB, free: 2.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.1589, allocations: 49.02 kB / 0.5213 GB, free: 2.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1589, allocations: 0 / 0.5213 GB, free: 2.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000217/0.1591, allocations: 81.62 kB / 0.5214 GB, free: 2.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1591, allocations: 8 kB / 0.5214 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1591, allocations: 0 / 0.5214 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1591, allocations: 0 / 0.5214 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.984e-05/0.1592, allocations: 15.92 kB / 0.5214 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1592, allocations: 4 kB / 0.5214 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.1592, allocations: 7.875 kB / 0.5214 GB, free: 2.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1592, allocations: 4 kB / 0.5215 GB, free: 2.461 MB / 398.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.0001351/0.1594, allocations: 133.8 kB / 0.5216 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/0.1594, allocations: 11.91 kB / 0.5216 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.1597, allocations: 90.75 kB / 0.5217 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1597, allocations: 0 / 0.5217 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.1597, allocations: 4.266 kB / 0.5217 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1597, allocations: 3.938 kB / 0.5217 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00055/0.1603, allocations: 333.6 kB / 0.522 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1603, allocations: 3.938 kB / 0.522 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.072e-05/0.1603, allocations: 15.97 kB / 0.522 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1603, allocations: 4.188 kB / 0.522 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1603, allocations: 7.938 kB / 0.522 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1603, allocations: 0 / 0.522 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.1603, allocations: 0 / 0.522 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.1606, allocations: 187.4 kB / 0.5222 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.1606, allocations: 7.953 kB / 0.5222 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.1607, allocations: 3.938 kB / 0.5222 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.677e-05/0.1607, allocations: 4 kB / 0.5222 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.1608, allocations: 11.98 kB / 0.5222 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1608, allocations: 0 / 0.5222 GB, free: 1.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001857/0.161, allocations: 184.3 kB / 0.5224 GB, free: 1.395 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.161, allocations: 0 / 0.5224 GB, free: 1.395 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1612, allocations: 16 kB / 0.5224 GB, free: 1.379 MB / 398.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.002036/0.1633, allocations: 1.023 MB / 0.5234 GB, free: 388 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002312/0.1635, allocations: 51.89 kB / 0.5235 GB, free: 336 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1635, allocations: 0 / 0.5235 GB, free: 336 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.006e-05/0.1636, allocations: 23.98 kB / 0.5235 GB, free: 312 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.164, allocations: 15.98 kB / 0.5235 GB, free: 296 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.1663, allocations: 1.636 MB / 0.5251 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.1667, allocations: 0.7158 MB / 0.5258 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.028e-05/0.1667, allocations: 4 kB / 0.5258 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/0.1668, allocations: 31.42 kB / 0.5258 GB, free: 13.79 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1668, allocations: 0 / 0.5258 GB, free: 13.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.1925, allocations: 3.101 MB / 0.5289 GB, free: 10.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.37, allocations: 3.906 kB / 0.5289 GB, free: 10.6 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.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: 14.9572640240076]