Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.00172/0.00172, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001523/0.001523, allocations: 217.5 kB / 22.99 MB, free: 4.602 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.442/1.442, allocations: 207.7 MB / 233.8 MB, free: 9.785 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.26 MB / 330.3 MB, free: 9.312 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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",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.002049/0.002049, allocations: 71.91 kB / 467.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1114, allocations: 61.05 MB / 0.5162 GB, free: 7.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003125/0.1146, allocations: 1.68 MB / 0.5179 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.1159, allocations: 0.7806 MB / 0.5186 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.058e-05/0.116, allocations: 3.938 kB / 0.5186 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.1163, allocations: 51.75 kB / 0.5187 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.1165, allocations: 63.77 kB / 0.5187 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.1168, allocations: 87.75 kB / 0.5188 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.117, allocations: 99.64 kB / 0.5189 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.516e-05/0.117, allocations: 16.2 kB / 0.5189 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.589e-05/0.1171, allocations: 39.84 kB / 0.519 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.962e-05/0.1172, allocations: 27.8 kB / 0.519 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.1172, allocations: 4 kB / 0.519 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.627e-05/0.1173, allocations: 47.97 kB / 0.519 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.1174, allocations: 27.91 kB / 0.5191 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.1174, allocations: 31.75 kB / 0.5191 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.1176, allocations: 135.4 kB / 0.5192 GB, free: 4.012 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.1176, allocations: 0 / 0.5192 GB, free: 4.012 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1176, allocations: 0 / 0.5192 GB, free: 4.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1176, allocations: 4 kB / 0.5192 GB, free: 4.008 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.0004911/0.1181, allocations: 357.5 kB / 0.5196 GB, free: 3.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.1181, allocations: 8.031 kB / 0.5196 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/0.1182, allocations: 34.75 kB / 0.5196 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.1182, allocations: 16.84 kB / 0.5196 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.1184, allocations: 158 kB / 0.5198 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1185, allocations: 12.36 kB / 0.5198 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.1185, allocations: 3.938 kB / 0.5198 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.1186, allocations: 61.55 kB / 0.5199 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1186, allocations: 4 kB / 0.5199 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.1186, allocations: 4 kB / 0.5199 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1186, allocations: 0 / 0.5199 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.468e-05/0.1187, allocations: 19.98 kB / 0.5199 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.119, allocations: 264 kB / 0.5201 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.1192, allocations: 58.62 kB / 0.5202 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.1193, allocations: 24.84 kB / 0.5202 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.1193, allocations: 0 / 0.5202 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.1194, allocations: 67.39 kB / 0.5203 GB, free: 2.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.1194, allocations: 0 / 0.5203 GB, free: 2.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005148/0.12, allocations: 197.2 kB / 0.5205 GB, free: 2.602 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.12, allocations: 55.41 kB / 0.5205 GB, free: 2.535 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.1203, allocations: 267.4 kB / 0.5208 GB, free: 2.258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.1203, allocations: 29.7 kB / 0.5208 GB, free: 2.223 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.217e-05/0.1204, allocations: 112.1 kB / 0.5209 GB, free: 2.109 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.1204, allocations: 23.8 kB / 0.5209 GB, free: 2.086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.1204, allocations: 25.7 kB / 0.521 GB, free: 2.055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1206, allocations: 330.8 kB / 0.5213 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.78e-05/0.1206, allocations: 19.92 kB / 0.5213 GB, free: 1.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-05/0.1207, allocations: 41.64 kB / 0.5213 GB, free: 1.656 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.1208, allocations: 65.77 kB / 0.5214 GB, free: 1.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1208, allocations: 0 / 0.5214 GB, free: 1.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002083/0.121, allocations: 113.5 kB / 0.5215 GB, free: 1.469 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.121, allocations: 8.031 kB / 0.5215 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.1211, allocations: 4 kB / 0.5215 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.1211, allocations: 0 / 0.5215 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.396e-05/0.1211, allocations: 15.98 kB / 0.5215 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.1211, allocations: 0 / 0.5215 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.769e-05/0.1212, allocations: 7.938 kB / 0.5215 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1212, allocations: 4 kB / 0.5215 GB, free: 1.43 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.0001179/0.1213, allocations: 137.8 kB / 0.5217 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.1213, allocations: 15.89 kB / 0.5217 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.1216, allocations: 127 kB / 0.5218 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1216, allocations: 7.984 kB / 0.5218 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1216, allocations: 0 / 0.5218 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1216, allocations: 11.88 kB / 0.5218 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004879/0.1221, allocations: 374.4 kB / 0.5222 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1221, allocations: 0 / 0.5222 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.1221, allocations: 11.98 kB / 0.5222 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1221, allocations: 3.938 kB / 0.5222 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1222, allocations: 4 kB / 0.5222 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1222, allocations: 0 / 0.5222 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1222, allocations: 0 / 0.5222 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.1224, allocations: 224.5 kB / 0.5224 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.453e-05/0.1224, allocations: 11.91 kB / 0.5224 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.1225, allocations: 8.031 kB / 0.5224 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.1225, allocations: 4.312 kB / 0.5224 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.1226, allocations: 11.98 kB / 0.5224 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.1226, allocations: 4 kB / 0.5225 GB, free: 412 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001824/0.1228, allocations: 203.3 kB / 0.5226 GB, free: 208 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1228, allocations: 0 / 0.5226 GB, free: 208 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.123, allocations: 27.94 kB / 0.5227 GB, free: 180 kB / 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 (9): * Single equations (assignments): 7 * 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.002257/0.1253, allocations: 1.137 MB / 0.5238 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.1254, allocations: 59.91 kB / 0.5238 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1254, allocations: 0 / 0.5238 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.566e-05/0.1255, allocations: 35.98 kB / 0.5239 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.1258, allocations: 31.97 kB / 0.5239 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.1279, allocations: 1.824 MB / 0.5257 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.956e-05/0.128, allocations: 105 kB / 0.5258 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.139e-05/0.1281, allocations: 16.55 kB / 0.5258 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.491e-05/0.1281, allocations: 43.42 kB / 0.5258 GB, free: 12.84 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1281, allocations: 0 / 0.5258 GB, free: 12.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/0.1565, allocations: 4.384 MB / 0.5301 GB, free: 8.336 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.62, allocations: 4.062 kB / 0.5301 GB, free: 8.332 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498107 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.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: 14.758374942932278]