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.001093/0.001093, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001243/0.001243, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.416/1.416, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2203/0.2203, allocations: 44.17 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 68.45 kB / 408.5 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1169, allocations: 60.82 MB / 469.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.00327/0.1203, allocations: 1.657 MB / 471 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.1217, allocations: 0.8574 MB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.954e-05/0.1218, allocations: 0 / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.1221, allocations: 59.73 kB / 471.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.1224, allocations: 67.73 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.1227, allocations: 110.3 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.1229, allocations: 99.73 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.1229, allocations: 8 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.716e-05/0.123, allocations: 47.72 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.98e-05/0.1231, allocations: 47.77 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.1232, allocations: 4 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.37e-05/0.1233, allocations: 32 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.23e-05/0.1233, allocations: 23.91 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.864e-05/0.1234, allocations: 31.8 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.1236, allocations: 99.92 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1236, allocations: 0 / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1236, allocations: 0 / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1236, allocations: 0 / 472.5 MB, free: 11.09 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.000507/0.1241, allocations: 407 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1241, allocations: 8.031 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.191e-05/0.1242, allocations: 34.73 kB / 472.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.1242, allocations: 8.844 kB / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.1245, allocations: 200.1 kB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1245, allocations: 384 / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.1245, allocations: 19.91 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.1247, allocations: 41.69 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.1247, allocations: 4 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1247, allocations: 0 / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1247, allocations: 3.938 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.552e-05/0.1248, allocations: 15.98 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.125, allocations: 185.6 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.1251, allocations: 58.48 kB / 473.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.241e-05/0.1252, allocations: 20.86 kB / 473.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.1252, allocations: 0 / 473.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/0.1254, allocations: 71.31 kB / 473.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1254, allocations: 0 / 473.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002743/0.1257, allocations: 97.77 kB / 473.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.1258, allocations: 51.41 kB / 473.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.1259, allocations: 190.1 kB / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.1259, allocations: 29.69 kB / 473.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.604e-05/0.126, allocations: 100.1 kB / 474 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.126, allocations: 19.78 kB / 474 MB, free: 9.348 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.1261, allocations: 17.72 kB / 474.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.981e-05/0.1262, allocations: 322.8 kB / 474.4 MB, free: 9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.554e-05/0.1262, allocations: 12 kB / 474.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.501e-05/0.1263, allocations: 33.64 kB / 474.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.149e-05/0.1264, allocations: 45.7 kB / 474.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1264, allocations: 3.938 kB / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001568/0.1266, allocations: 81.53 kB / 474.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1266, allocations: 4 kB / 474.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1266, allocations: 0 / 474.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1266, allocations: 3.938 kB / 474.5 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.234e-05/0.1267, allocations: 15.98 kB / 474.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1267, allocations: 4.031 kB / 474.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.158e-05/0.1268, allocations: 0 / 474.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.1268, allocations: 8 kB / 474.6 MB, free: 8.773 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.874e-05/0.1269, allocations: 125.8 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.1269, allocations: 11.81 kB / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.79e-05/0.127, allocations: 12.31 kB / 474.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.127, allocations: 7.938 kB / 474.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.127, allocations: 0 / 474.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.127, allocations: 0 / 474.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.1271, allocations: 189.5 kB / 474.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1271, allocations: 4 kB / 474.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.253e-05/0.1272, allocations: 4 kB / 474.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1272, allocations: 4 kB / 474.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1272, allocations: 0 / 474.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1272, allocations: 3.938 kB / 474.9 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1272, allocations: 0 / 474.9 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.1274, allocations: 109.1 kB / 475 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.1274, allocations: 89.02 kB / 475.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.1275, allocations: 4 kB / 475.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.663e-05/0.1275, allocations: 3.984 kB / 475.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.1275, allocations: 7.984 kB / 475.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.1276, allocations: 4 kB / 475.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.1277, allocations: 143.2 kB / 475.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1277, allocations: 0 / 475.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.1279, allocations: 16 kB / 475.3 MB, free: 7.949 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.001181/0.1291, allocations: 0.9432 MB / 476.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001545/0.1293, allocations: 43.92 kB / 476.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1293, allocations: 0 / 476.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.943e-05/0.1294, allocations: 19.98 kB / 476.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.1296, allocations: 27.67 kB / 476.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.1312, allocations: 1.488 MB / 477.8 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.1315, allocations: 0.7002 MB / 478.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.457e-05/0.1316, allocations: 8.562 kB / 478.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.445e-05/0.1316, allocations: 31.42 kB / 478.6 MB, free: 4.699 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1317, allocations: 0 / 478.6 MB, free: 4.699 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.1549, allocations: 2.985 MB / 481.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.447/7.602, allocations: 12.41 kB / 481.6 MB, free: 1.793 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