Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",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.0007494/0.0007527, allocations: 96.94 kB / 16.02 MB, free: 84 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.0009164/0.0009163, allocations: 181.4 kB / 16.91 MB, free: 6.914 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.526/1.526, allocations: 205.4 MB / 223.1 MB, free: 5.535 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.3931/0.3931, allocations: 43.57 MB / 315 MB, free: 9.07 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.0005396/0.0005396, allocations: 15.94 kB / 384.7 MB, free: 7.781 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1215, allocations: 58.88 MB / 443.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002221/0.1238, allocations: 1.41 MB / 445 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.1252, allocations: 0.7769 MB / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.577e-05/0.1253, allocations: 0 / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003252/0.1256, allocations: 39.83 kB / 445.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.1259, allocations: 43.83 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.1262, allocations: 79.84 kB / 445.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.1264, allocations: 91.69 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1265, allocations: 12.22 kB / 446 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.1266, allocations: 39.78 kB / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.438e-05/0.1267, allocations: 23.86 kB / 446.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.1267, allocations: 4 kB / 446.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.1269, allocations: 47.91 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.914e-05/0.1269, allocations: 19.92 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.127, allocations: 65.44 kB / 446.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.1272, allocations: 103.9 kB / 446.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1272, allocations: 0 / 446.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1273, allocations: 0 / 446.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1273, allocations: 0 / 446.3 MB, free: 10.04 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.0005645/0.1278, allocations: 395.1 kB / 446.7 MB, free: 9.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.1279, allocations: 12.03 kB / 446.7 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.442e-05/0.1279, allocations: 38.69 kB / 446.7 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.128, allocations: 8.844 kB / 446.8 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.1283, allocations: 216 kB / 447 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1283, allocations: 4.375 kB / 447 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.1284, allocations: 7.938 kB / 447 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.1285, allocations: 53.67 kB / 447 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1286, allocations: 3.938 kB / 447 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1286, allocations: 0 / 447 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1286, allocations: 0 / 447 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.393e-05/0.1287, allocations: 19.98 kB / 447 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.1291, allocations: 292.7 kB / 447.3 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1293, allocations: 58.67 kB / 447.4 MB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.333e-05/0.1293, allocations: 16.86 kB / 447.4 MB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.1294, allocations: 4 kB / 447.4 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.1296, allocations: 75.31 kB / 447.5 MB, free: 8.684 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.1296, allocations: 0 / 447.5 MB, free: 8.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005554/0.1301, allocations: 165.5 kB / 447.6 MB, free: 8.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.1302, allocations: 51.41 kB / 447.7 MB, free: 8.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.1304, allocations: 194.1 kB / 447.9 MB, free: 8.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1304, allocations: 25.7 kB / 447.9 MB, free: 8.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.1305, allocations: 100.1 kB / 448 MB, free: 8.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.1305, allocations: 19.72 kB / 448 MB, free: 8.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.1306, allocations: 29.64 kB / 448.1 MB, free: 8.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1307, allocations: 322.8 kB / 448.4 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.359e-05/0.1308, allocations: 16 kB / 448.4 MB, free: 7.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.621e-05/0.1308, allocations: 41.69 kB / 448.4 MB, free: 7.676 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.131, allocations: 61.64 kB / 448.5 MB, free: 7.609 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.131, allocations: 0 / 448.5 MB, free: 7.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001916/0.1312, allocations: 97.59 kB / 448.6 MB, free: 7.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1312, allocations: 4 kB / 448.6 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1312, allocations: 3.984 kB / 448.6 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1312, allocations: 4 kB / 448.6 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.1313, allocations: 20 kB / 448.6 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1313, allocations: 0 / 448.6 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/0.1314, allocations: 11.94 kB / 448.6 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.1314, allocations: 0 / 448.6 MB, free: 7.465 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 0.0001242/0.1315, allocations: 133.8 kB / 448.8 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.1316, allocations: 11.81 kB / 448.8 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.1316, allocations: 16.7 kB / 448.8 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1316, allocations: 0 / 448.8 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1316, allocations: 4 kB / 448.8 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.1317, allocations: 3.938 kB / 448.8 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.1321, allocations: 391.4 kB / 449.2 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1322, allocations: 0 / 449.2 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.643e-05/0.1322, allocations: 12.03 kB / 449.2 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.1322, allocations: 7.938 kB / 449.2 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.1322, allocations: 3.984 kB / 449.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.225e-05/0.1322, allocations: 4.016 kB / 449.2 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.1323, allocations: 3.984 kB / 449.2 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.1325, allocations: 196.3 kB / 449.4 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.1326, allocations: 92.92 kB / 449.5 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.1326, allocations: 15.92 kB / 449.5 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.601e-05/0.1327, allocations: 0 / 449.5 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.1328, allocations: 4 kB / 449.5 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.1328, allocations: 7.984 kB / 449.5 MB, free: 6.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.1329, allocations: 144.1 kB / 449.7 MB, free: 6.332 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1329, allocations: 0 / 449.7 MB, free: 6.332 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.1332, allocations: 31.98 kB / 449.7 MB, free: 6.301 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.001714/0.1349, allocations: 1.109 MB / 450.8 MB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.1351, allocations: 59.91 kB / 450.9 MB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1352, allocations: 0 / 450.9 MB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.311e-05/0.1352, allocations: 20 kB / 450.9 MB, free: 5.117 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.1356, allocations: 31.97 kB / 450.9 MB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.1374, allocations: 1.65 MB / 452.6 MB, free: 3.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.1377, allocations: 0.7083 MB / 453.3 MB, free: 2.609 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.808e-05/0.1377, allocations: 16.88 kB / 453.3 MB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.51e-05/0.1378, allocations: 35.42 kB / 453.3 MB, free: 2.559 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1378, allocations: 0 / 453.3 MB, free: 2.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2215/0.3593, allocations: 2.918 MB / 456.2 MB, free: 45.7 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/0.3594, allocations: 235.7 kB / 456.5 MB, free: 45.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.202, allocations: 2.031 kB / 456.5 MB, free: 45.45 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches