Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.001354/0.001354, 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.001987/0.001987, allocations: 224.6 kB / 23.01 MB, free: 5.039 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.423/1.423, 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.2108/0.2108, allocations: 44.25 MB / 330.3 MB, free: 9.602 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.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",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.002165/0.002165, allocations: 63.91 kB / 467.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1115, allocations: 61.05 MB / 0.5162 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003159/0.1147, allocations: 1.723 MB / 0.5179 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.116, allocations: 0.8273 MB / 0.5187 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.622e-05/0.1161, allocations: 3.938 kB / 0.5187 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.1164, allocations: 39.83 kB / 0.5187 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.1166, allocations: 67.69 kB / 0.5188 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.1168, allocations: 83.77 kB / 0.5189 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.117, allocations: 95.69 kB / 0.519 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.438e-05/0.1171, allocations: 16.2 kB / 0.519 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.758e-05/0.1172, allocations: 39.8 kB / 0.519 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.938e-05/0.1172, allocations: 35.78 kB / 0.5191 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1173, allocations: 4 kB / 0.5191 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.49e-05/0.1174, allocations: 39.97 kB / 0.5191 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.027e-05/0.1174, allocations: 19.92 kB / 0.5191 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.876e-05/0.1175, allocations: 31.75 kB / 0.5192 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.1176, allocations: 123.6 kB / 0.5193 GB, free: 4.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1176, allocations: 0 / 0.5193 GB, free: 4.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1176, allocations: 0 / 0.5193 GB, free: 4.113 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1177, allocations: 3.938 kB / 0.5193 GB, free: 4.109 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005036/0.1182, allocations: 349.5 kB / 0.5196 GB, free: 3.738 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1182, allocations: 8.031 kB / 0.5196 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.002e-05/0.1182, allocations: 30.75 kB / 0.5196 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.1183, allocations: 8.891 kB / 0.5197 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.1185, allocations: 159 kB / 0.5198 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1185, allocations: 12.36 kB / 0.5198 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.1185, allocations: 3.938 kB / 0.5198 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.1187, allocations: 53.67 kB / 0.5199 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1187, allocations: 3.938 kB / 0.5199 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1187, allocations: 4 kB / 0.5199 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-06/0.1187, allocations: 0 / 0.5199 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.064e-05/0.1188, allocations: 15.98 kB / 0.5199 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.1191, allocations: 256 kB / 0.5201 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.1193, allocations: 58.62 kB / 0.5202 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.189e-05/0.1194, allocations: 20.84 kB / 0.5202 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.1194, allocations: 4 kB / 0.5202 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.1195, allocations: 63.39 kB / 0.5203 GB, free: 2.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1195, allocations: 4 kB / 0.5203 GB, free: 2.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005051/0.12, allocations: 181.3 kB / 0.5205 GB, free: 2.758 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.1201, allocations: 55.41 kB / 0.5205 GB, free: 2.691 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.1203, allocations: 203.2 kB / 0.5207 GB, free: 2.484 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.1203, allocations: 25.7 kB / 0.5207 GB, free: 2.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.1204, allocations: 108.1 kB / 0.5208 GB, free: 2.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.1204, allocations: 19.86 kB / 0.5209 GB, free: 2.324 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.1204, allocations: 25.7 kB / 0.5209 GB, free: 2.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1206, allocations: 326.8 kB / 0.5212 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.021e-05/0.1207, allocations: 23.98 kB / 0.5212 GB, free: 1.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.802e-05/0.1207, allocations: 37.64 kB / 0.5212 GB, free: 1.898 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.1208, allocations: 57.72 kB / 0.5213 GB, free: 1.836 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1208, allocations: 0 / 0.5213 GB, free: 1.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001914/0.121, allocations: 109.9 kB / 0.5214 GB, free: 1.723 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.121, allocations: 4 kB / 0.5214 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.121, allocations: 4 kB / 0.5214 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1211, allocations: 0 / 0.5214 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1212, allocations: 16 kB / 0.5214 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1212, allocations: 0 / 0.5214 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.1212, allocations: 15.92 kB / 0.5214 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.1212, allocations: 4 kB / 0.5214 GB, free: 1.68 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001077/0.1213, allocations: 121.8 kB / 0.5216 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.1214, allocations: 23.91 kB / 0.5216 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.1216, allocations: 111 kB / 0.5217 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1216, allocations: 0 / 0.5217 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1216, allocations: 3.984 kB / 0.5217 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1216, allocations: 3.938 kB / 0.5217 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.1221, allocations: 366.6 kB / 0.522 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1221, allocations: 0 / 0.522 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.148e-05/0.1221, allocations: 8 kB / 0.5221 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1221, allocations: 7.969 kB / 0.5221 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.1221, allocations: 4 kB / 0.5221 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1221, allocations: 0 / 0.5221 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1221, allocations: 0 / 0.5221 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.1224, allocations: 208.3 kB / 0.5223 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.1224, allocations: 11.91 kB / 0.5223 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.1224, allocations: 15.88 kB / 0.5223 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.9e-05/0.1225, allocations: 4 kB / 0.5223 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.1225, allocations: 7.984 kB / 0.5223 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.1225, allocations: 4 kB / 0.5223 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.1227, allocations: 152.9 kB / 0.5225 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1227, allocations: 192 / 0.5225 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002984/0.1229, allocations: 20 kB / 0.5225 GB, free: 0.5352 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002164/0.1251, allocations: 1.088 MB / 0.5235 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.1253, allocations: 59.91 kB / 0.5236 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1253, allocations: 4 kB / 0.5236 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.997e-05/0.1254, allocations: 23.98 kB / 0.5236 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.1258, allocations: 27.97 kB / 0.5236 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.1276, allocations: 1.666 MB / 0.5253 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.128, allocations: 0.7002 MB / 0.526 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.343e-05/0.128, allocations: 20.95 kB / 0.526 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.845e-05/0.1281, allocations: 35.42 kB / 0.526 GB, free: 12.81 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1281, allocations: 3.938 kB / 0.526 GB, free: 12.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.1563, allocations: 3.616 MB / 0.5295 GB, free: 9.098 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.36, allocations: 1 kB / 0.5295 GB, free: 9.098 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.469974671956152]