Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009438/0.0009439, allocations: 92.47 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 176 kB / 18.25 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.2 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2044/0.2044, allocations: 44.25 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003083, allocations: 10.06 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1158, allocations: 61.93 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002161/0.118, allocations: 1.421 MB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.1194, allocations: 0.846 MB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.731e-05/0.1195, allocations: 0 / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.1198, allocations: 51.8 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.12, allocations: 55.81 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.1202, allocations: 94.69 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.1204, allocations: 95.7 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.716e-05/0.1205, allocations: 8.234 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.35e-05/0.1206, allocations: 47.72 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.093e-05/0.1207, allocations: 35.84 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.1207, allocations: 0 / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.561e-05/0.1208, allocations: 35.98 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.662e-05/0.1208, allocations: 27.91 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.873e-05/0.1209, allocations: 65.38 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.1211, allocations: 135.8 kB / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1211, allocations: 0 / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1211, allocations: 0 / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.1211, allocations: 0 / 475.3 MB, free: 10.32 MB / 350.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.0005097/0.1216, allocations: 429 kB / 475.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1217, allocations: 12.03 kB / 475.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.284e-05/0.1217, allocations: 34.73 kB / 475.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.1218, allocations: 12.84 kB / 475.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.122, allocations: 219.9 kB / 476 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.122, allocations: 4.359 kB / 476 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.122, allocations: 7.938 kB / 476 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.1222, allocations: 57.61 kB / 476 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1222, allocations: 0 / 476 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.495e-06/0.1222, allocations: 0 / 476 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1222, allocations: 4 kB / 476 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.758e-05/0.1223, allocations: 19.98 kB / 476 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.1226, allocations: 292.9 kB / 476.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.1228, allocations: 62.61 kB / 476.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.1229, allocations: 28.84 kB / 476.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.1229, allocations: 0 / 476.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.1231, allocations: 63.39 kB / 476.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1231, allocations: 0 / 476.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004985/0.1236, allocations: 181.3 kB / 476.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.1236, allocations: 51.41 kB / 476.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.1239, allocations: 266.9 kB / 477 MB, free: 8.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1239, allocations: 37.7 kB / 477 MB, free: 8.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.58e-05/0.124, allocations: 116 kB / 477.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.124, allocations: 19.7 kB / 477.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.1241, allocations: 17.7 kB / 477.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1242, allocations: 326.8 kB / 477.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.808e-05/0.1243, allocations: 20 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.069e-05/0.1243, allocations: 41.58 kB / 477.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.1244, allocations: 61.7 kB / 477.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1244, allocations: 0 / 477.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002051/0.1247, allocations: 105.5 kB / 477.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1247, allocations: 4 kB / 477.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1247, allocations: 128 / 477.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.1247, allocations: 0 / 477.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.988e-05/0.1248, allocations: 20 kB / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1248, allocations: 0 / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.493e-05/0.1249, allocations: 20.08 kB / 477.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1249, allocations: 0 / 477.7 MB, free: 7.586 MB / 350.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.0001501/0.125, allocations: 141.7 kB / 477.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.1251, allocations: 15.81 kB / 477.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.214e-05/0.1251, allocations: 21.41 kB / 477.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1251, allocations: 0 / 477.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1251, allocations: 3.984 kB / 477.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1251, allocations: 3.938 kB / 477.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.1255, allocations: 407.4 kB / 478.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1256, allocations: 0 / 478.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.274e-05/0.1256, allocations: 11.98 kB / 478.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.1256, allocations: 7.938 kB / 478.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-06/0.1256, allocations: 4 kB / 478.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1256, allocations: 0 / 478.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1256, allocations: 0 / 478.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.1259, allocations: 208.2 kB / 478.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.1259, allocations: 93 kB / 478.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.1259, allocations: 3.938 kB / 478.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.126, allocations: 4 kB / 478.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.126, allocations: 7.984 kB / 478.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.1261, allocations: 8 kB / 478.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001583/0.1262, allocations: 192.2 kB / 478.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1262, allocations: 8 kB / 478.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.1265, allocations: 23.98 kB / 478.9 MB, free: 6.34 MB / 350.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.001448/0.1279, allocations: 1.108 MB / 480 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.1282, allocations: 55.97 kB / 480 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1282, allocations: 3.938 kB / 480.1 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.653e-05/0.1283, allocations: 27.94 kB / 480.1 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.1286, allocations: 32.09 kB / 480.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.1304, allocations: 1.828 MB / 481.9 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.1306, allocations: 0.716 MB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.044e-05/0.1307, allocations: 12.89 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.476e-05/0.1308, allocations: 47.41 kB / 482.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1308, allocations: 4 kB / 482.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/0.1428, allocations: 3.258 MB / 486 MB, free: 15.41 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/0.143, allocations: 238.3 kB / 486.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/1.947, allocations: 0 / 486.2 MB, free: 15.15 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches