Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",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.004057/0.004057, allocations: 100.6 kB / 15.87 MB, free: 6.289 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.001001/0.001001, allocations: 197.5 kB / 16.79 MB, free: 6.219 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.448/1.448, allocations: 205.1 MB / 222.6 MB, free: 4.922 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.3581/0.3581, allocations: 43.5 MB / 313.5 MB, free: 8.672 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.00157/0.00157, allocations: 74.09 kB / 382.1 MB, free: 8.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1281, allocations: 57.78 MB / 439.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003677/0.1318, allocations: 1.752 MB / 441.7 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.1333, allocations: 0.7963 MB / 442.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.983e-05/0.1334, allocations: 0 / 442.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.1338, allocations: 47.81 kB / 442.5 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000233/0.134, allocations: 51.81 kB / 442.6 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.1343, allocations: 79.84 kB / 442.7 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.1345, allocations: 87.77 kB / 442.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1347, allocations: 24.14 kB / 442.8 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.1348, allocations: 31.86 kB / 442.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.353e-05/0.1349, allocations: 39.72 kB / 442.8 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.1349, allocations: 0 / 442.8 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.135, allocations: 47.98 kB / 442.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.418e-05/0.1351, allocations: 27.89 kB / 442.9 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.575e-05/0.1352, allocations: 27.75 kB / 442.9 MB, free: 12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.1354, allocations: 119.9 kB / 443.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1354, allocations: 0 / 443.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.267e-06/0.1354, allocations: 0 / 443.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1354, allocations: 3.938 kB / 443.1 MB, free: 11.88 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.0006073/0.136, allocations: 426.8 kB / 443.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.1361, allocations: 8.031 kB / 443.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.1362, allocations: 38.73 kB / 443.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.1362, allocations: 16.78 kB / 443.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.1365, allocations: 219.9 kB / 443.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.1365, allocations: 4.359 kB / 443.8 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.1365, allocations: 7.938 kB / 443.8 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.1367, allocations: 53.67 kB / 443.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1367, allocations: 0 / 443.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1367, allocations: 0 / 443.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1367, allocations: 0 / 443.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.898e-05/0.1368, allocations: 23.92 kB / 443.8 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.1372, allocations: 296.9 kB / 444.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.1374, allocations: 54.67 kB / 444.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.888e-05/0.1375, allocations: 20.84 kB / 444.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.1375, allocations: 0 / 444.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.1378, allocations: 79.31 kB / 444.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1378, allocations: 0 / 444.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005714/0.1383, allocations: 173.1 kB / 444.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.1384, allocations: 51.41 kB / 444.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.1386, allocations: 230.5 kB / 444.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.1386, allocations: 25.7 kB / 444.7 MB, free: 9.977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.1387, allocations: 108.1 kB / 444.9 MB, free: 9.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.1387, allocations: 27.64 kB / 444.9 MB, free: 9.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.1388, allocations: 25.72 kB / 444.9 MB, free: 9.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1389, allocations: 322.8 kB / 445.2 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.356e-05/0.139, allocations: 23.98 kB / 445.2 MB, free: 9.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-05/0.1391, allocations: 33.7 kB / 445.3 MB, free: 9.422 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.1392, allocations: 65.64 kB / 445.3 MB, free: 9.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1392, allocations: 0 / 445.3 MB, free: 9.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001948/0.1394, allocations: 101.5 kB / 445.4 MB, free: 9.246 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1394, allocations: 8 kB / 445.4 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1394, allocations: 4.094 kB / 445.5 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1395, allocations: 0 / 445.5 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.844e-05/0.1396, allocations: 15.98 kB / 445.5 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1396, allocations: 7.984 kB / 445.5 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.1396, allocations: 3.938 kB / 445.5 MB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1396, allocations: 8.375 kB / 445.5 MB, free: 9.199 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 9.396e-05/0.1397, allocations: 129.9 kB / 445.6 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.1398, allocations: 8.094 kB / 445.6 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.084e-05/0.1398, allocations: 25.39 kB / 445.6 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1398, allocations: 3.938 kB / 445.6 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1398, allocations: 4 kB / 445.7 MB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.1399, allocations: 7.938 kB / 445.7 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.1403, allocations: 399.2 kB / 446.1 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1403, allocations: 0 / 446.1 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.1403, allocations: 11.94 kB / 446.1 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.1403, allocations: 7.922 kB / 446.1 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1404, allocations: 4 kB / 446.1 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1404, allocations: 0 / 446.1 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1404, allocations: 0 / 446.1 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.1406, allocations: 200.3 kB / 446.3 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.1407, allocations: 88.92 kB / 446.4 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.1407, allocations: 3.938 kB / 446.4 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.1408, allocations: 7.984 kB / 446.4 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.1408, allocations: 8 kB / 446.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.1408, allocations: 7.938 kB / 446.4 MB, free: 8.191 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.141, allocations: 172.3 kB / 446.6 MB, free: 8.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.141, allocations: 3.938 kB / 446.6 MB, free: 8.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.1413, allocations: 20 kB / 446.6 MB, free: 8 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.1427, allocations: 1.103 MB / 447.7 MB, free: 6.914 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.1429, allocations: 55.92 kB / 447.7 MB, free: 6.859 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1429, allocations: 0 / 447.7 MB, free: 6.859 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.339e-05/0.143, allocations: 31.92 kB / 447.8 MB, free: 6.828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.1433, allocations: 32.17 kB / 447.8 MB, free: 6.797 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.1452, allocations: 1.737 MB / 449.5 MB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.1455, allocations: 0.7122 MB / 450.2 MB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.995e-05/0.1455, allocations: 12.88 kB / 450.3 MB, free: 4.223 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.097e-05/0.1456, allocations: 39.42 kB / 450.3 MB, free: 4.188 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1456, allocations: 0 / 450.3 MB, free: 4.188 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01381/0.1594, allocations: 3.286 MB / 453.6 MB, free: 0.875 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/0.1597, allocations: 238.4 kB / 453.8 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/1.844, allocations: 0 / 453.8 MB, free: 0.6172 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches