Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.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.001672/0.001672, 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.002193/0.002193, allocations: 211.9 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.641/1.641, 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.2381/0.2381, allocations: 44.24 MB / 331.1 MB, free: 9.527 MB / 270.1 MB " [Timeout remaining time 180] 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.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test18",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.002318/0.002318, allocations: 75.12 kB / 468.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1147, allocations: 61.04 MB / 0.5169 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003247/0.118, allocations: 1.594 MB / 0.5185 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.1197, allocations: 1.038 MB / 0.5195 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.867e-05/0.1198, allocations: 0 / 0.5195 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.12, allocations: 31.84 kB / 0.5195 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.1202, allocations: 43.77 kB / 0.5196 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.1205, allocations: 71.84 kB / 0.5196 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.1206, allocations: 67.83 kB / 0.5197 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.1208, allocations: 16.16 kB / 0.5197 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.002e-05/0.1208, allocations: 27.88 kB / 0.5197 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.121, allocations: 35.77 kB / 0.5198 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.121, allocations: 4 kB / 0.5198 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1211, allocations: 51.98 kB / 0.5198 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.26e-05/0.1212, allocations: 15.92 kB / 0.5198 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.937e-05/0.1212, allocations: 23.86 kB / 0.5199 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.1215, allocations: 95.58 kB / 0.52 GB, free: 4.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1215, allocations: 4 kB / 0.52 GB, free: 4.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1215, allocations: 0 / 0.52 GB, free: 4.203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1215, allocations: 0 / 0.52 GB, free: 4.203 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005716/0.1221, allocations: 317.8 kB / 0.5203 GB, free: 3.863 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.1221, allocations: 15.97 kB / 0.5203 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.232e-05/0.1221, allocations: 192 / 0.5203 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.269e-05/0.1222, allocations: 30.75 kB / 0.5203 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.1222, allocations: 8.891 kB / 0.5203 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.1224, allocations: 138.4 kB / 0.5205 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-06/0.1224, allocations: 4.375 kB / 0.5205 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.1224, allocations: 7.938 kB / 0.5205 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.1226, allocations: 71.33 kB / 0.5205 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1226, allocations: 4 kB / 0.5205 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1226, allocations: 0 / 0.5205 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.1226, allocations: 7.938 kB / 0.5205 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.1227, allocations: 27.97 kB / 0.5206 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.1231, allocations: 267.9 kB / 0.5208 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.1233, allocations: 50.5 kB / 0.5209 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.672e-05/0.1233, allocations: 20.97 kB / 0.5209 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.1233, allocations: 0 / 0.5209 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.1234, allocations: 34.56 kB / 0.5209 GB, free: 3.078 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1234, allocations: 4 kB / 0.5209 GB, free: 3.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007205/0.1241, allocations: 173.3 kB / 0.5211 GB, free: 2.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.1241, allocations: 85.05 kB / 0.5212 GB, free: 2.797 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.1243, allocations: 141.8 kB / 0.5213 GB, free: 2.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.1244, allocations: 25.7 kB / 0.5213 GB, free: 2.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.249e-05/0.1244, allocations: 92.14 kB / 0.5214 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.1245, allocations: 35.73 kB / 0.5215 GB, free: 2.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.1245, allocations: 17.72 kB / 0.5215 GB, free: 2.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1247, allocations: 322.8 kB / 0.5218 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.621e-05/0.1247, allocations: 20.06 kB / 0.5218 GB, free: 2.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.129e-05/0.1248, allocations: 45.69 kB / 0.5218 GB, free: 2.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.125, allocations: 65.17 kB / 0.5219 GB, free: 2.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.125, allocations: 0 / 0.5219 GB, free: 2.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002211/0.1252, allocations: 97.61 kB / 0.522 GB, free: 1.902 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.1252, allocations: 4 kB / 0.522 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1252, allocations: 4 kB / 0.522 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1253, allocations: 0 / 0.522 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.1254, allocations: 19.98 kB / 0.522 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.1254, allocations: 3.938 kB / 0.522 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.1254, allocations: 12 kB / 0.522 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1254, allocations: 0 / 0.522 GB, free: 1.859 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 (8): * Single equations (assignments): 8 * 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.0001863/0.1256, allocations: 121.8 kB / 0.5222 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.1257, allocations: 7.953 kB / 0.5222 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/0.126, allocations: 114 kB / 0.5223 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.126, allocations: 0 / 0.5223 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.126, allocations: 11.88 kB / 0.5223 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.126, allocations: 0 / 0.5223 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/0.1265, allocations: 361.9 kB / 0.5226 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1265, allocations: 0 / 0.5226 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.886e-05/0.1266, allocations: 19.92 kB / 0.5226 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1266, allocations: 0 / 0.5226 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1266, allocations: 7.984 kB / 0.5227 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1266, allocations: 0 / 0.5227 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1266, allocations: 0 / 0.5227 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.1269, allocations: 203.5 kB / 0.5229 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.1269, allocations: 11.89 kB / 0.5229 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.1269, allocations: 0 / 0.5229 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.541e-05/0.127, allocations: 11.98 kB / 0.5229 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.127, allocations: 4 kB / 0.5229 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.127, allocations: 0 / 0.5229 GB, free: 0.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.1272, allocations: 114.8 kB / 0.523 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1272, allocations: 4 kB / 0.523 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000277/0.1274, allocations: 23.94 kB / 0.523 GB, free: 0.7812 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 (8): * Single equations (assignments): 8 * 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.00225/0.1297, allocations: 1.064 MB / 0.5241 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002802/0.13, allocations: 59.95 kB / 0.5241 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.13, allocations: 4 kB / 0.5241 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.983e-05/0.1301, allocations: 31.92 kB / 0.5241 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.1305, allocations: 19.42 kB / 0.5242 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.1323, allocations: 1.479 MB / 0.5256 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.1327, allocations: 0.6973 MB / 0.5263 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.162e-05/0.1327, allocations: 21.11 kB / 0.5263 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.627e-05/0.1328, allocations: 31.42 kB / 0.5263 GB, free: 13.3 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1328, allocations: 0 / 0.5263 GB, free: 13.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03328/0.1661, allocations: 3.129 MB / 0.5294 GB, free: 10.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.64, allocations: 11.98 kB / 0.5294 GB, free: 10.04 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test18_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.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: 15.131249456026126]