Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",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.001046/0.001052, 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.001006/0.001006, allocations: 206.3 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.445/1.445, allocations: 205.1 MB / 222.6 MB, free: 5 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.3819/0.3819, allocations: 43.5 MB / 313.5 MB, free: 8.621 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.001394/0.001394, allocations: 67.91 kB / 382.1 MB, free: 8.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1343, allocations: 57.79 MB / 439.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003182/0.1375, allocations: 1.753 MB / 441.7 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1389, allocations: 0.7924 MB / 442.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.53e-05/0.139, allocations: 0 / 442.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.1394, allocations: 35.89 kB / 442.5 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.1396, allocations: 39.83 kB / 442.5 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.1398, allocations: 83.84 kB / 442.6 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.14, allocations: 95.62 kB / 442.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1401, allocations: 16.22 kB / 442.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.92e-05/0.1402, allocations: 39.78 kB / 442.8 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.096e-05/0.1403, allocations: 27.86 kB / 442.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.1403, allocations: 0 / 442.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.714e-05/0.1404, allocations: 43.97 kB / 442.8 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.37e-05/0.1405, allocations: 19.92 kB / 442.9 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.008e-05/0.1405, allocations: 39.66 kB / 442.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.1407, allocations: 111.9 kB / 443 MB, free: 11.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1408, allocations: 0 / 443 MB, free: 11.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.1408, allocations: 4 kB / 443 MB, free: 11.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1408, allocations: 0 / 443 MB, free: 11.93 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.0005793/0.1414, allocations: 407 kB / 443.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.1414, allocations: 12.03 kB / 443.4 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.1415, allocations: 38.73 kB / 443.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.1415, allocations: 8.844 kB / 443.5 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.1418, allocations: 212 kB / 443.7 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.1418, allocations: 4.359 kB / 443.7 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.1418, allocations: 15.88 kB / 443.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.142, allocations: 53.67 kB / 443.8 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.142, allocations: 3.938 kB / 443.8 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.142, allocations: 0 / 443.8 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.142, allocations: 0 / 443.8 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.628e-05/0.1421, allocations: 23.98 kB / 443.8 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.1425, allocations: 284.8 kB / 444.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.1427, allocations: 58.62 kB / 444.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.249e-05/0.1427, allocations: 20.84 kB / 444.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1427, allocations: 4 kB / 444.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/0.143, allocations: 63.39 kB / 444.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.143, allocations: 0 / 444.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005344/0.1435, allocations: 177.2 kB / 444.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.1436, allocations: 51.41 kB / 444.4 MB, free: 10.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.1438, allocations: 194.1 kB / 444.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.1438, allocations: 25.7 kB / 444.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.1438, allocations: 96.14 kB / 444.7 MB, free: 9.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.1439, allocations: 27.69 kB / 444.8 MB, free: 9.969 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.1439, allocations: 21.72 kB / 444.8 MB, free: 9.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.144, allocations: 326.8 kB / 445.1 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.459e-05/0.1441, allocations: 23.92 kB / 445.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.39e-05/0.1442, allocations: 37.7 kB / 445.2 MB, free: 9.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.1443, allocations: 58.08 kB / 445.2 MB, free: 9.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1443, allocations: 0 / 445.2 MB, free: 9.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001748/0.1445, allocations: 101.6 kB / 445.3 MB, free: 9.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1445, allocations: 4 kB / 445.3 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1445, allocations: 8.031 kB / 445.3 MB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1445, allocations: 4 kB / 445.3 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.065e-05/0.1446, allocations: 19.98 kB / 445.4 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1447, allocations: 0 / 445.4 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.494e-05/0.1447, allocations: 7.938 kB / 445.4 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1447, allocations: 0 / 445.4 MB, free: 9.336 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.0001106/0.1448, allocations: 137.7 kB / 445.5 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.1449, allocations: 11.81 kB / 445.5 MB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.1449, allocations: 20.89 kB / 445.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1449, allocations: 0 / 445.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1449, allocations: 3.938 kB / 445.5 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.371e-06/0.1449, allocations: 7.938 kB / 445.5 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004286/0.1454, allocations: 391.3 kB / 445.9 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1454, allocations: 0 / 445.9 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.115e-05/0.1454, allocations: 8 kB / 445.9 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1454, allocations: 3.938 kB / 445.9 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1454, allocations: 8.031 kB / 445.9 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1455, allocations: 3.984 kB / 445.9 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1455, allocations: 0 / 445.9 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.1457, allocations: 200.2 kB / 446.1 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.1457, allocations: 85.02 kB / 446.2 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.1458, allocations: 3.938 kB / 446.2 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.575e-05/0.1458, allocations: 7.984 kB / 446.2 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.1459, allocations: 11.98 kB / 446.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.1459, allocations: 8 kB / 446.3 MB, free: 8.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.146, allocations: 144 kB / 446.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.146, allocations: 0 / 446.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.1463, allocations: 27.91 kB / 446.4 MB, free: 8.172 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.001455/0.1477, allocations: 1.102 MB / 447.5 MB, free: 7.078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.1479, allocations: 63.97 kB / 447.6 MB, free: 7.016 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1479, allocations: 0 / 447.6 MB, free: 7.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.109e-05/0.148, allocations: 27.92 kB / 447.6 MB, free: 6.988 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.1484, allocations: 35.72 kB / 447.6 MB, free: 6.953 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.15, allocations: 1.653 MB / 449.3 MB, free: 5.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.1503, allocations: 0.7082 MB / 450 MB, free: 4.477 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.517e-05/0.1504, allocations: 16.89 kB / 450 MB, free: 4.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.944e-05/0.1504, allocations: 31.42 kB / 450.1 MB, free: 4.43 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1504, allocations: 4 kB / 450.1 MB, free: 4.426 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.1643, allocations: 3.105 MB / 453.2 MB, free: 1.293 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/0.1645, allocations: 234.4 kB / 453.4 MB, free: 1.039 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/1.865, allocations: 4.062 kB / 453.4 MB, free: 1.035 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches