Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",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.00126/0.001261, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 203 kB / 16.79 MB, free: 6.84 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.512/1.512, allocations: 205.1 MB / 222.6 MB, free: 4.766 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.3958/0.3958, allocations: 43.51 MB / 313.5 MB, free: 8.242 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.001349/0.001349, allocations: 74.55 kB / 382.1 MB, free: 8.406 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1339, allocations: 57.78 MB / 439.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003669/0.1376, allocations: 1.964 MB / 441.9 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.1391, allocations: 0.8157 MB / 442.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.1392, allocations: 11.88 kB / 442.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003561/0.1396, allocations: 39.83 kB / 442.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.1398, allocations: 47.77 kB / 442.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.1401, allocations: 95.77 kB / 442.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.1403, allocations: 127.6 kB / 443 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.1404, allocations: 41.61 kB / 443.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.205e-05/0.1405, allocations: 47.78 kB / 443.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.122e-05/0.1406, allocations: 47.66 kB / 443.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.1407, allocations: 4 kB / 443.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1408, allocations: 47.97 kB / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.1408, allocations: 23.92 kB / 443.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.84e-05/0.1409, allocations: 51.61 kB / 443.3 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.1412, allocations: 131.6 kB / 443.4 MB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1412, allocations: 4 kB / 443.4 MB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1412, allocations: 0 / 443.4 MB, free: 11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1412, allocations: 0 / 443.4 MB, free: 11 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007451/0.1419, allocations: 488.4 kB / 443.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.142, allocations: 8.031 kB / 443.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.064e-05/0.1421, allocations: 38.75 kB / 443.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.1421, allocations: 16.75 kB / 444 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.1424, allocations: 220.8 kB / 444.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.1424, allocations: 8.375 kB / 444.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.1425, allocations: 19.88 kB / 444.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.1427, allocations: 104 kB / 444.3 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1428, allocations: 0 / 444.3 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.1428, allocations: 4 kB / 444.3 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.1428, allocations: 4 kB / 444.3 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.143, allocations: 55.84 kB / 444.4 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000698/0.1437, allocations: 0.5047 MB / 444.9 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.144, allocations: 94.59 kB / 445 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.1442, allocations: 36.83 kB / 445 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.1442, allocations: 4 kB / 445 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003015/0.1445, allocations: 87.3 kB / 445.1 MB, free: 9.137 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 4.448e-06/0.1445, allocations: 4 kB / 445.1 MB, free: 9.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004517/0.145, allocations: 149.4 kB / 445.2 MB, free: 8.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.145, allocations: 51.41 kB / 445.3 MB, free: 8.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.1453, allocations: 191.4 kB / 445.5 MB, free: 8.723 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.1453, allocations: 25.7 kB / 445.5 MB, free: 8.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.305e-05/0.1454, allocations: 116 kB / 445.6 MB, free: 8.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/0.1454, allocations: 31.64 kB / 445.6 MB, free: 8.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.1455, allocations: 25.72 kB / 445.7 MB, free: 8.512 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.1457, allocations: 330.8 kB / 446 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.692e-05/0.1458, allocations: 27.98 kB / 446 MB, free: 8.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.1459, allocations: 56.28 kB / 446.1 MB, free: 8.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.1461, allocations: 104.2 kB / 446.2 MB, free: 7.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.1461, allocations: 4 kB / 446.2 MB, free: 7.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002668/0.1464, allocations: 137.3 kB / 446.3 MB, free: 7.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1464, allocations: 4.125 kB / 446.3 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1465, allocations: 4 kB / 446.3 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.1465, allocations: 7.938 kB / 446.3 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1466, allocations: 23.98 kB / 446.3 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.1466, allocations: 4 kB / 446.4 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.738e-05/0.1467, allocations: 11.89 kB / 446.4 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1467, allocations: 4 kB / 446.4 MB, free: 7.762 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001246/0.1468, allocations: 134.2 kB / 446.5 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.1469, allocations: 15.81 kB / 446.5 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.117e-05/0.1469, allocations: 25.39 kB / 446.5 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.1469, allocations: 3.938 kB / 446.5 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1469, allocations: 4 kB / 446.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.147, allocations: 3.938 kB / 446.5 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.1471, allocations: 205.5 kB / 446.8 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1471, allocations: 0 / 446.8 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.747e-05/0.1472, allocations: 15.98 kB / 446.8 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1472, allocations: 3.938 kB / 446.8 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.1473, allocations: 4 kB / 446.8 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1473, allocations: 7.938 kB / 446.8 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1473, allocations: 4 kB / 446.8 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.1477, allocations: 176.8 kB / 447 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.656e-05/0.1477, allocations: 89.03 kB / 447 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.1478, allocations: 0 / 447 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.387e-05/0.1478, allocations: 11.94 kB / 447.1 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.1479, allocations: 11.92 kB / 447.1 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.1479, allocations: 8.062 kB / 447.1 MB, free: 6.957 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.148, allocations: 137.2 kB / 447.2 MB, free: 6.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.148, allocations: 0 / 447.2 MB, free: 6.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.1483, allocations: 32.03 kB / 447.2 MB, free: 6.793 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001427/0.1497, allocations: 1.023 MB / 448.3 MB, free: 5.777 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.15, allocations: 75.91 kB / 448.3 MB, free: 5.703 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.15, allocations: 0 / 448.3 MB, free: 5.703 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.1501, allocations: 39.91 kB / 448.4 MB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.1504, allocations: 52.08 kB / 448.4 MB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.1523, allocations: 1.761 MB / 450.2 MB, free: 3.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.1526, allocations: 0.7239 MB / 450.9 MB, free: 3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.036e-05/0.1527, allocations: 21.39 kB / 450.9 MB, free: 2.977 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.066e-05/0.1528, allocations: 39.42 kB / 451 MB, free: 2.938 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1528, allocations: 0 / 451 MB, free: 2.938 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.208/0.3608, allocations: 3.457 MB / 454.4 MB, free: 48.02 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/0.361, allocations: 237.3 kB / 454.7 MB, free: 47.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.007, allocations: 0 / 454.7 MB, free: 47.77 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches