Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",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.0008361/0.0008362, allocations: 95.34 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.0008282/0.0008283, allocations: 173.8 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.326/1.326, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.1901/0.1901, allocations: 44.25 MB / 337.7 MB, free: 2.418 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002961/0.0002961, allocations: 12 kB / 410.4 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1145, allocations: 61.93 MB / 472.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.00186/0.1164, allocations: 1.413 MB / 473.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.1176, allocations: 0.8421 MB / 474.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.562e-05/0.1176, allocations: 0 / 474.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.1179, allocations: 79.83 kB / 474.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.1181, allocations: 63.8 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.1184, allocations: 103 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.1185, allocations: 99.69 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.807e-05/0.1186, allocations: 16.23 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.092e-05/0.1187, allocations: 51.77 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.481e-05/0.1188, allocations: 59.75 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.1188, allocations: 0 / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.196e-05/0.1189, allocations: 35.98 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.794e-05/0.119, allocations: 19.92 kB / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.64e-05/0.119, allocations: 65.42 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.1192, allocations: 107.9 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1192, allocations: 0 / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1192, allocations: 3.938 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1192, allocations: 0 / 475.3 MB, free: 10.23 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.0004774/0.1197, allocations: 407 kB / 475.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1198, allocations: 12.03 kB / 475.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.699e-05/0.1198, allocations: 34.69 kB / 475.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.1198, allocations: 12.84 kB / 475.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.12, allocations: 208 kB / 476 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1201, allocations: 4.375 kB / 476 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.1201, allocations: 7.922 kB / 476 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.1202, allocations: 53.67 kB / 476 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1202, allocations: 4 kB / 476 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1203, allocations: 0 / 476 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.1203, allocations: 4 kB / 476.1 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.101e-05/0.1203, allocations: 23.92 kB / 476.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.1207, allocations: 288.9 kB / 476.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.1209, allocations: 54.69 kB / 476.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.959e-05/0.1209, allocations: 24.84 kB / 476.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.1209, allocations: 0 / 476.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.1211, allocations: 75.31 kB / 476.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1211, allocations: 0 / 476.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004756/0.1216, allocations: 173.4 kB / 476.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.1217, allocations: 55.34 kB / 476.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.1218, allocations: 227.1 kB / 477 MB, free: 8.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.1219, allocations: 33.64 kB / 477 MB, free: 8.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.1219, allocations: 100.1 kB / 477.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.122, allocations: 27.64 kB / 477.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.122, allocations: 17.72 kB / 477.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.892e-05/0.1221, allocations: 322.8 kB / 477.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.388e-05/0.1222, allocations: 23.98 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.944e-05/0.1222, allocations: 37.7 kB / 477.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.1223, allocations: 57.66 kB / 477.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1223, allocations: 0 / 477.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001721/0.1225, allocations: 101.6 kB / 477.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1225, allocations: 6.5 kB / 477.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1225, allocations: 128 / 477.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1226, allocations: 4 kB / 477.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.179e-05/0.1227, allocations: 23.92 kB / 477.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1227, allocations: 4.031 kB / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.1227, allocations: 11.94 kB / 477.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.1227, allocations: 4 kB / 477.7 MB, free: 7.59 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 9.468e-05/0.1228, allocations: 121.8 kB / 477.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.1229, allocations: 15.81 kB / 477.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.1229, allocations: 17.41 kB / 477.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1229, allocations: 4 kB / 477.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1229, allocations: 0 / 477.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1229, allocations: 11.92 kB / 477.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003815/0.1233, allocations: 391.5 kB / 478.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1233, allocations: 0 / 478.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.159e-05/0.1234, allocations: 8 kB / 478.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1234, allocations: 7.875 kB / 478.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.1234, allocations: 4 kB / 478.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1234, allocations: 80 / 478.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.1234, allocations: 7.969 kB / 478.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.1236, allocations: 204.2 kB / 478.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.1237, allocations: 85.02 kB / 478.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.1237, allocations: 3.938 kB / 478.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.1238, allocations: 11.98 kB / 478.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.1238, allocations: 7.938 kB / 478.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.1238, allocations: 4 kB / 478.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.1239, allocations: 159.4 kB / 478.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.124, allocations: 0 / 478.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.1242, allocations: 31.92 kB / 478.8 MB, free: 6.41 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.001317/0.1255, allocations: 1.093 MB / 479.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001565/0.1257, allocations: 63.89 kB / 479.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1257, allocations: 0 / 479.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.524e-05/0.1258, allocations: 32.05 kB / 480 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.1261, allocations: 30.95 kB / 480 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.1276, allocations: 1.706 MB / 481.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.1279, allocations: 0.7043 MB / 482.4 MB, free: 2.824 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.771e-05/0.1279, allocations: 28.47 kB / 482.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.646e-05/0.128, allocations: 31.42 kB / 482.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.128, allocations: 8 kB / 482.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01276/0.1408, allocations: 3.04 MB / 485.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/0.141, allocations: 237.7 kB / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/1.881, allocations: 4 kB / 485.8 MB, free: 15.59 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches