Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",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.0007295/0.0007296, allocations: 93 kB / 17.35 MB, free: 6.344 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.0008369/0.000837, allocations: 172.1 kB / 18.25 MB, free: 5.504 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.287/1.287, allocations: 223.3 MB / 242.3 MB, free: 204 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.1874/0.1874, allocations: 44.26 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.000286, allocations: 13.44 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.112, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.00215/0.1142, allocations: 1.378 MB / 473.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.1157, allocations: 0.8265 MB / 474.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.408e-05/0.1158, allocations: 0 / 474.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.1161, allocations: 59.86 kB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.1164, allocations: 55.81 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.1167, allocations: 94.14 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.1169, allocations: 91.69 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.127e-05/0.117, allocations: 12 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.725e-05/0.1171, allocations: 35.84 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.625e-05/0.1172, allocations: 47.77 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.1172, allocations: 4 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1173, allocations: 27.92 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.202e-05/0.1174, allocations: 19.97 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.1175, allocations: 53.45 kB / 475.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.1176, allocations: 95.92 kB / 475.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1177, allocations: 0 / 475.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1177, allocations: 7.938 kB / 475.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.1177, allocations: 0 / 475.2 MB, free: 10.43 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005069/0.1182, allocations: 391.2 kB / 475.5 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1182, allocations: 8.031 kB / 475.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.936e-05/0.1183, allocations: 30.75 kB / 475.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.1183, allocations: 12.78 kB / 475.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.1185, allocations: 204.1 kB / 475.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.1186, allocations: 4.375 kB / 475.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.1186, allocations: 7.938 kB / 475.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.1187, allocations: 53.66 kB / 475.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.1187, allocations: 0 / 475.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.1188, allocations: 0 / 475.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1188, allocations: 4 kB / 475.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.916e-05/0.1188, allocations: 15.98 kB / 475.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.1191, allocations: 185.6 kB / 476.1 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.1192, allocations: 62.48 kB / 476.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.309e-05/0.1193, allocations: 16.86 kB / 476.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.1193, allocations: 3.938 kB / 476.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.1195, allocations: 63.39 kB / 476.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.1195, allocations: 0 / 476.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002663/0.1198, allocations: 101.5 kB / 476.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.1198, allocations: 55.41 kB / 476.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.12, allocations: 186.1 kB / 476.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.12, allocations: 29.7 kB / 476.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.25e-05/0.1201, allocations: 100.1 kB / 476.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.1201, allocations: 11.81 kB / 476.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.1201, allocations: 13.72 kB / 476.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.791e-05/0.1202, allocations: 326.8 kB / 477 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.053e-05/0.1203, allocations: 15.98 kB / 477 MB, free: 8.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.564e-05/0.1204, allocations: 37.69 kB / 477.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.314e-05/0.1205, allocations: 41.66 kB / 477.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1205, allocations: 7.938 kB / 477.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001496/0.1206, allocations: 77.58 kB / 477.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1207, allocations: 6.344 kB / 477.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.1207, allocations: 0 / 477.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1207, allocations: 7.938 kB / 477.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.501e-05/0.1208, allocations: 12.03 kB / 477.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.1208, allocations: 4.141 kB / 477.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.1208, allocations: 7.984 kB / 477.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.1209, allocations: 0 / 477.2 MB, free: 8.125 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 (7): * Single equations (assignments): 7 * 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 9.964e-05/0.121, allocations: 125.8 kB / 477.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.121, allocations: 11.81 kB / 477.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.121, allocations: 20.23 kB / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.121, allocations: 0 / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.121, allocations: 0 / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1211, allocations: 4 kB / 477.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.1212, allocations: 189.5 kB / 477.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1212, allocations: 0 / 477.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.436e-05/0.1212, allocations: 4.312 kB / 477.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.686e-06/0.1212, allocations: 0 / 477.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1213, allocations: 7.984 kB / 477.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1213, allocations: 0 / 477.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1213, allocations: 3.938 kB / 477.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.1215, allocations: 120.9 kB / 477.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.1215, allocations: 81.02 kB / 477.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.1215, allocations: 8 kB / 477.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.799e-05/0.1216, allocations: 3.984 kB / 477.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.1216, allocations: 4 kB / 477.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.1216, allocations: 0 / 477.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.1218, allocations: 143.2 kB / 477.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1218, allocations: 0 / 477.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002165/0.122, allocations: 20 kB / 478 MB, free: 7.293 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00125/0.1232, allocations: 0.9477 MB / 478.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001466/0.1234, allocations: 35.98 kB / 478.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1234, allocations: 0 / 478.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.175e-05/0.1235, allocations: 27.98 kB / 479 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.1238, allocations: 27.86 kB / 479 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.1253, allocations: 1.499 MB / 480.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.1255, allocations: 0.7004 MB / 481.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.251e-05/0.1256, allocations: 12.55 kB / 481.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.602e-05/0.1256, allocations: 31.42 kB / 481.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1256, allocations: 0 / 481.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01263/0.1383, allocations: 2.643 MB / 483.9 MB, free: 1.504 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/0.1385, allocations: 246.1 kB / 484.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/1.847, allocations: 0 / 484.1 MB, free: 1.242 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches