Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",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.006842/0.006842, allocations: 100.2 kB / 15.87 MB, free: 6.309 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.001295/0.001295, allocations: 195.3 kB / 16.79 MB, free: 6.238 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.55/1.55, allocations: 205.1 MB / 222.6 MB, free: 4.73 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.3611/0.3611, allocations: 43.5 MB / 313.5 MB, free: 8.344 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.001243/0.001243, allocations: 70.56 kB / 382.1 MB, free: 8.387 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1202, allocations: 57.78 MB / 439.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003035/0.1233, allocations: 1.764 MB / 441.7 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.1246, allocations: 0.7962 MB / 442.5 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.032e-05/0.1247, allocations: 0 / 442.5 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.125, allocations: 31.91 kB / 442.5 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.1252, allocations: 39.83 kB / 442.5 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.1255, allocations: 83.84 kB / 442.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.1256, allocations: 87.64 kB / 442.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1257, allocations: 28.19 kB / 442.7 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.251e-05/0.1258, allocations: 31.86 kB / 442.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.584e-05/0.1259, allocations: 31.73 kB / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.1259, allocations: 4 kB / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.82e-05/0.126, allocations: 43.97 kB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.482e-05/0.1261, allocations: 11.98 kB / 442.9 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.275e-05/0.1262, allocations: 31.69 kB / 442.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.1264, allocations: 104 kB / 443 MB, free: 11.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.1264, allocations: 4 kB / 443 MB, free: 11.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1264, allocations: 0 / 443 MB, free: 11.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1264, allocations: 0 / 443 MB, free: 11.39 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.0006173/0.127, allocations: 411 kB / 443.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.1271, allocations: 12.03 kB / 443.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.958e-05/0.1271, allocations: 30.75 kB / 443.4 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.1272, allocations: 8.844 kB / 443.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.1275, allocations: 208.5 kB / 443.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.1275, allocations: 4 kB / 443.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.1275, allocations: 3.938 kB / 443.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.1277, allocations: 53.67 kB / 443.7 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.1277, allocations: 8 kB / 443.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1277, allocations: 0 / 443.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1277, allocations: 0 / 443.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.338e-05/0.1278, allocations: 19.98 kB / 443.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.1282, allocations: 280.8 kB / 444 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.1284, allocations: 58.62 kB / 444.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.386e-05/0.1285, allocations: 24.84 kB / 444.1 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.1285, allocations: 4 kB / 444.1 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002148/0.1287, allocations: 63.39 kB / 444.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.276e-06/0.1287, allocations: 3.984 kB / 444.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006095/0.1294, allocations: 169.2 kB / 444.3 MB, free: 9.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.1294, allocations: 55.34 kB / 444.4 MB, free: 9.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.1296, allocations: 162.4 kB / 444.5 MB, free: 9.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.1296, allocations: 29.7 kB / 444.6 MB, free: 9.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.1297, allocations: 100.1 kB / 444.7 MB, free: 9.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.1297, allocations: 27.64 kB / 444.7 MB, free: 9.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.1298, allocations: 25.7 kB / 444.7 MB, free: 9.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1299, allocations: 318.8 kB / 445 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.278e-05/0.13, allocations: 23.92 kB / 445.1 MB, free: 9.102 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.169e-05/0.13, allocations: 49.95 kB / 445.1 MB, free: 9.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.1302, allocations: 53.7 kB / 445.2 MB, free: 8.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1302, allocations: 0 / 445.2 MB, free: 8.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001745/0.1304, allocations: 101.5 kB / 445.3 MB, free: 8.883 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1304, allocations: 8 kB / 445.3 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1304, allocations: 3.938 kB / 445.3 MB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.1304, allocations: 0 / 445.3 MB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.916e-05/0.1305, allocations: 20.02 kB / 445.3 MB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1305, allocations: 4 kB / 445.3 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.024e-05/0.1306, allocations: 0 / 445.3 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.1306, allocations: 4 kB / 445.3 MB, free: 8.844 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.0001259/0.1307, allocations: 129.8 kB / 445.4 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.1307, allocations: 11.81 kB / 445.4 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.84e-05/0.1308, allocations: 16.66 kB / 445.5 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1308, allocations: 0 / 445.5 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1308, allocations: 0 / 445.5 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1308, allocations: 7.984 kB / 445.5 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.1312, allocations: 383.3 kB / 445.8 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1312, allocations: 4 kB / 445.8 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.257e-05/0.1313, allocations: 11.98 kB / 445.9 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1313, allocations: 4 kB / 445.9 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.1313, allocations: 0 / 445.9 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1313, allocations: 0 / 445.9 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1313, allocations: 4 kB / 445.9 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.1315, allocations: 204.2 kB / 446.1 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.1316, allocations: 89 kB / 446.1 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.1316, allocations: 4 kB / 446.2 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.386e-05/0.1317, allocations: 0 / 446.2 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.1317, allocations: 7.984 kB / 446.2 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.1317, allocations: 8 kB / 446.2 MB, free: 7.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.905e-05/0.1318, allocations: 127.9 kB / 446.3 MB, free: 7.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1318, allocations: 0 / 446.3 MB, free: 7.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.1321, allocations: 20 kB / 446.3 MB, free: 7.73 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.001454/0.1335, allocations: 1.11 MB / 447.4 MB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.1337, allocations: 55.98 kB / 447.5 MB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1337, allocations: 0 / 447.5 MB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.912e-05/0.1338, allocations: 32.05 kB / 447.5 MB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.1341, allocations: 27.98 kB / 447.5 MB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.1357, allocations: 1.602 MB / 449.1 MB, free: 4.824 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.136, allocations: 0.7043 MB / 449.8 MB, free: 4.094 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.879e-05/0.1361, allocations: 17.17 kB / 449.9 MB, free: 4.078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.319e-05/0.1361, allocations: 31.42 kB / 449.9 MB, free: 4.047 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1361, allocations: 0 / 449.9 MB, free: 4.047 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01207/0.1482, allocations: 2.997 MB / 452.9 MB, free: 1.023 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/0.1485, allocations: 237.2 kB / 453.1 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/1.844, allocations: 3.938 kB / 453.1 MB, free: 0.7617 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches