Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",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.001208/0.001208, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 203.8 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.1 MB / 222.6 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3955/0.3955, allocations: 43.5 MB / 313.5 MB, free: 8.598 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 67.91 kB / 382.1 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1172, allocations: 57.79 MB / 439.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002909/0.1201, allocations: 1.756 MB / 441.7 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.1219, allocations: 1.379 MB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.22e-05/0.122, allocations: 0 / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.1222, allocations: 27.91 kB / 443.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.1224, allocations: 51.77 kB / 443.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.1227, allocations: 83.84 kB / 443.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.1228, allocations: 87.7 kB / 443.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.939e-05/0.1229, allocations: 16.2 kB / 443.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.278e-05/0.123, allocations: 43.78 kB / 443.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.1231, allocations: 35.78 kB / 443.4 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.1232, allocations: 4 kB / 443.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1233, allocations: 59.91 kB / 443.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.69e-05/0.1233, allocations: 15.92 kB / 443.5 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.656e-05/0.1234, allocations: 31.8 kB / 443.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.1236, allocations: 123.9 kB / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1236, allocations: 0 / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1236, allocations: 0 / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1236, allocations: 0 / 443.6 MB, free: 11 MB / 382.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.0005308/0.1241, allocations: 411.1 kB / 444 MB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1242, allocations: 8.031 kB / 444 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.1242, allocations: 38.75 kB / 444.1 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.1243, allocations: 12.78 kB / 444.1 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.1245, allocations: 196.2 kB / 444.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.1245, allocations: 4.375 kB / 444.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.1245, allocations: 11.92 kB / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1247, allocations: 75.33 kB / 444.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1247, allocations: 3.906 kB / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1247, allocations: 0 / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.1248, allocations: 0 / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.783e-05/0.1248, allocations: 27.92 kB / 444.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.1252, allocations: 280.9 kB / 444.7 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.1254, allocations: 58.67 kB / 444.7 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.758e-05/0.1254, allocations: 24.84 kB / 444.8 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.1255, allocations: 3.984 kB / 444.8 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.1256, allocations: 71.33 kB / 444.8 MB, free: 9.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1257, allocations: 0 / 444.8 MB, free: 9.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005391/0.1262, allocations: 169.2 kB / 445 MB, free: 9.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.1263, allocations: 81.11 kB / 445.1 MB, free: 9.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.1264, allocations: 153.8 kB / 445.2 MB, free: 9.184 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.1264, allocations: 29.7 kB / 445.3 MB, free: 9.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/0.1265, allocations: 92.12 kB / 445.3 MB, free: 9.055 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.1265, allocations: 23.66 kB / 445.4 MB, free: 9.031 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.1266, allocations: 25.7 kB / 445.4 MB, free: 9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1267, allocations: 326.8 kB / 445.7 MB, free: 8.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.499e-05/0.1268, allocations: 16 kB / 445.7 MB, free: 8.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-05/0.1268, allocations: 46.5 kB / 445.8 MB, free: 8.602 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.1269, allocations: 65.64 kB / 445.8 MB, free: 8.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.127, allocations: 0 / 445.8 MB, free: 8.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001756/0.1271, allocations: 97.56 kB / 445.9 MB, free: 8.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1272, allocations: 4 kB / 445.9 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1272, allocations: 3.938 kB / 445.9 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1272, allocations: 8.062 kB / 445.9 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.222e-05/0.1273, allocations: 16 kB / 446 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1273, allocations: 0 / 446 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.1273, allocations: 15.83 kB / 446 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1274, allocations: 4 kB / 446 MB, free: 8.379 MB / 382.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 8.476e-05/0.1274, allocations: 117.8 kB / 446.1 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.1275, allocations: 7.906 kB / 446.1 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.141e-05/0.1275, allocations: 16.7 kB / 446.1 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.1275, allocations: 8 kB / 446.1 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1275, allocations: 0 / 446.1 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1276, allocations: 7.875 kB / 446.1 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.128, allocations: 387.3 kB / 446.5 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.128, allocations: 384 / 446.5 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.128, allocations: 11.94 kB / 446.5 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.128, allocations: 7.922 kB / 446.5 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1281, allocations: 4 kB / 446.5 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1281, allocations: 4.031 kB / 446.5 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1281, allocations: 4 kB / 446.5 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.1283, allocations: 200.5 kB / 446.7 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.509e-05/0.1284, allocations: 81.02 kB / 446.8 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.1284, allocations: 11.94 kB / 446.8 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.112e-05/0.1285, allocations: 3.984 kB / 446.8 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.1285, allocations: 8 kB / 446.8 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.1285, allocations: 4 kB / 446.8 MB, free: 7.406 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.585e-05/0.1286, allocations: 118.5 kB / 447 MB, free: 7.293 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1286, allocations: 3.938 kB / 447 MB, free: 7.289 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1289, allocations: 35.98 kB / 447 MB, free: 7.254 MB / 382.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.001436/0.1303, allocations: 1.134 MB / 448.1 MB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.1305, allocations: 55.91 kB / 448.2 MB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1306, allocations: 4 kB / 448.2 MB, free: 6.074 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.014e-05/0.1306, allocations: 31.92 kB / 448.2 MB, free: 6.043 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.131, allocations: 31.78 kB / 448.3 MB, free: 6.012 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.1325, allocations: 1.568 MB / 449.8 MB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.1328, allocations: 0.7004 MB / 450.5 MB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.185e-05/0.1328, allocations: 16.88 kB / 450.5 MB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.273e-05/0.1329, allocations: 31.42 kB / 450.6 MB, free: 3.582 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1329, allocations: 3.938 kB / 450.6 MB, free: 3.578 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/0.1476, allocations: 3.287 MB / 453.9 MB, free: 272 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/0.1479, allocations: 239.1 kB / 454.1 MB, free: 8 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/1.809, allocations: 0 / 454.1 MB, free: 8 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches