Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.001764/0.001764, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.002127/0.002127, allocations: 227.3 kB / 23.01 MB, free: 5.035 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.419/1.419, allocations: 207.6 MB / 233.8 MB, free: 9.977 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.2123/0.2123, allocations: 44.24 MB / 330.3 MB, free: 9.523 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.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",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.00233/0.00233, allocations: 69 kB / 467.6 MB, free: 4.457 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1107, allocations: 61.04 MB / 0.5162 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003425/0.1141, allocations: 1.87 MB / 0.518 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.1157, allocations: 0.9247 MB / 0.5189 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.1158, allocations: 7.938 kB / 0.5189 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005017/0.1163, allocations: 255.4 kB / 0.5192 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003809/0.1167, allocations: 187.4 kB / 0.5194 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.1171, allocations: 139.7 kB / 0.5195 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003768/0.1175, allocations: 255.2 kB / 0.5197 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1176, allocations: 21.72 kB / 0.5198 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002384/0.1178, allocations: 127.6 kB / 0.5199 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002894/0.1181, allocations: 203.4 kB / 0.5201 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.1181, allocations: 8 kB / 0.5201 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1183, allocations: 43.98 kB / 0.5201 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.1184, allocations: 63.75 kB / 0.5202 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.1185, allocations: 87.25 kB / 0.5203 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003316/0.1188, allocations: 222.9 kB / 0.5205 GB, free: 2.863 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1188, allocations: 0 / 0.5205 GB, free: 2.863 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1188, allocations: 0 / 0.5205 GB, free: 2.863 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.1189, allocations: 0 / 0.5205 GB, free: 2.863 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008298/0.1197, allocations: 0.4964 MB / 0.521 GB, free: 2.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1197, allocations: 12.03 kB / 0.521 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.543e-05/0.1198, allocations: 38.73 kB / 0.521 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.639e-05/0.1198, allocations: 28.75 kB / 0.521 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003914/0.1202, allocations: 218.5 kB / 0.5213 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1202, allocations: 4.375 kB / 0.5213 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.1203, allocations: 7.938 kB / 0.5213 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.1205, allocations: 111.2 kB / 0.5214 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1205, allocations: 0 / 0.5214 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.1205, allocations: 4 kB / 0.5214 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1205, allocations: 4 kB / 0.5214 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.1207, allocations: 35.97 kB / 0.5214 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005837/0.1212, allocations: 435.9 kB / 0.5218 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.1215, allocations: 101.4 kB / 0.5219 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.606e-05/0.1216, allocations: 41.64 kB / 0.522 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1216, allocations: 8 kB / 0.522 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.1219, allocations: 109.1 kB / 0.5221 GB, free: 1.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.153e-06/0.1219, allocations: 0 / 0.5221 GB, free: 1.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009713/0.1229, allocations: 385.1 kB / 0.5224 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.1229, allocations: 85.05 kB / 0.5225 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005369/0.1235, allocations: 481.7 kB / 0.523 GB, free: 108 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.1235, allocations: 33.69 kB / 0.523 GB, free: 68 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.1236, allocations: 168.3 kB / 0.5232 GB, free: 15.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.585e-05/0.1237, allocations: 43.64 kB / 0.5232 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/0.1238, allocations: 33.72 kB / 0.5233 GB, free: 15.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.1239, allocations: 346.8 kB / 0.5236 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.124, allocations: 43.98 kB / 0.5236 GB, free: 15.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.1242, allocations: 79.45 kB / 0.5237 GB, free: 15.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.1244, allocations: 115.4 kB / 0.5238 GB, free: 15.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1244, allocations: 0 / 0.5238 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003605/0.1248, allocations: 201.5 kB / 0.524 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.1248, allocations: 7.984 kB / 0.524 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1248, allocations: 4 kB / 0.524 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.1248, allocations: 3.938 kB / 0.524 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.1249, allocations: 35.92 kB / 0.5241 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.125, allocations: 3.938 kB / 0.5241 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.29e-05/0.125, allocations: 8 kB / 0.5241 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.1251, allocations: 4 kB / 0.5241 GB, free: 14.94 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001743/0.1252, allocations: 173.9 kB / 0.5242 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.125e-05/0.1253, allocations: 35.8 kB / 0.5243 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004191/0.1257, allocations: 212.3 kB / 0.5245 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1257, allocations: 3.938 kB / 0.5245 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1257, allocations: 0 / 0.5245 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.1257, allocations: 4 kB / 0.5245 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007935/0.1265, allocations: 0.6002 MB / 0.5251 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1265, allocations: 0 / 0.5251 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.182e-05/0.1266, allocations: 19.94 kB / 0.5251 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.1266, allocations: 0 / 0.5251 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.1266, allocations: 11.98 kB / 0.5251 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1266, allocations: 0 / 0.5251 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.351e-05/0.1266, allocations: 4.078 kB / 0.5251 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/0.127, allocations: 372.2 kB / 0.5255 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/0.1271, allocations: 23.81 kB / 0.5255 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/0.1271, allocations: 8 kB / 0.5255 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.1272, allocations: 11.92 kB / 0.5255 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.1273, allocations: 11.98 kB / 0.5255 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.1273, allocations: 12 kB / 0.5255 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003562/0.1277, allocations: 359.1 kB / 0.5259 GB, free: 13.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1277, allocations: 0 / 0.5259 GB, free: 13.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003426/0.128, allocations: 43.94 kB / 0.5259 GB, free: 12.97 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002512/0.1305, allocations: 1.265 MB / 0.5271 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003046/0.1308, allocations: 107.9 kB / 0.5272 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.1308, allocations: 4 kB / 0.5272 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.131, allocations: 55.84 kB / 0.5273 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005768/0.1315, allocations: 61.33 kB / 0.5274 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003679/0.1352, allocations: 2.746 MB / 0.53 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/0.1357, allocations: 0.7671 MB / 0.5308 GB, free: 7.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.1358, allocations: 37.91 kB / 0.5308 GB, free: 7.805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.1359, allocations: 91.34 kB / 0.5309 GB, free: 7.719 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1359, allocations: 0 / 0.5309 GB, free: 7.719 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03465/0.1706, allocations: 6.215 MB / 0.537 GB, free: 1.402 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.37, allocations: 16.17 kB / 0.537 GB, free: 1.387 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.52120576496236]