Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",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.0009047/0.0009045, allocations: 96.16 kB / 16.02 MB, free: 84 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.001091/0.001092, allocations: 185.2 kB / 16.92 MB, free: 6.934 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.629/1.629, allocations: 205.4 MB / 223.1 MB, free: 5.523 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.3726/0.3726, allocations: 43.57 MB / 315 MB, free: 9.031 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.0005986/0.0005986, allocations: 20 kB / 384.7 MB, free: 7.781 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1391, allocations: 58.85 MB / 443.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002323/0.1414, allocations: 1.558 MB / 445.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1429, allocations: 0.8664 MB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.318e-05/0.143, allocations: 0 / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003947/0.1434, allocations: 155.6 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.1437, allocations: 127.6 kB / 446.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.144, allocations: 135.8 kB / 446.4 MB, free: 9.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.1443, allocations: 203.4 kB / 446.6 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1444, allocations: 37.45 kB / 446.6 MB, free: 9.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.1446, allocations: 87.61 kB / 446.7 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.1448, allocations: 119.6 kB / 446.8 MB, free: 9.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.1448, allocations: 0 / 446.8 MB, free: 9.527 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.765e-05/0.1449, allocations: 47.97 kB / 446.9 MB, free: 9.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.941e-05/0.145, allocations: 43.78 kB / 446.9 MB, free: 9.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.296e-05/0.1451, allocations: 97.17 kB / 447 MB, free: 9.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.1453, allocations: 183.5 kB / 447.2 MB, free: 9.156 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1454, allocations: 4 kB / 447.2 MB, free: 9.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1454, allocations: 0 / 447.2 MB, free: 9.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.1454, allocations: 0 / 447.2 MB, free: 9.152 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007065/0.1461, allocations: 498.2 kB / 447.7 MB, free: 8.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1461, allocations: 16.02 kB / 447.7 MB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/0.1462, allocations: 34.75 kB / 447.7 MB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.1462, allocations: 24.66 kB / 447.7 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.1465, allocations: 259.6 kB / 448 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.1466, allocations: 4.375 kB / 448 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.1466, allocations: 11.92 kB / 448 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.1468, allocations: 103.3 kB / 448.1 MB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1469, allocations: 0 / 448.1 MB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.1469, allocations: 4 kB / 448.1 MB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1469, allocations: 0 / 448.1 MB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.147, allocations: 39.97 kB / 448.2 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005058/0.1475, allocations: 448.8 kB / 448.6 MB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.1478, allocations: 121.2 kB / 448.7 MB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.044e-05/0.1479, allocations: 45.69 kB / 448.8 MB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.148, allocations: 0 / 448.8 MB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002542/0.1482, allocations: 109 kB / 448.9 MB, free: 7.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.1482, allocations: 8 kB / 448.9 MB, free: 7.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008447/0.1491, allocations: 352.1 kB / 449.2 MB, free: 6.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.1491, allocations: 81.05 kB / 449.3 MB, free: 6.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000337/0.1495, allocations: 347 kB / 449.6 MB, free: 6.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.1495, allocations: 33.7 kB / 449.7 MB, free: 6.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.195e-05/0.1496, allocations: 144.4 kB / 449.8 MB, free: 6.281 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.783e-05/0.1497, allocations: 51.3 kB / 449.9 MB, free: 6.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.1497, allocations: 25.7 kB / 449.9 MB, free: 6.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1499, allocations: 338.8 kB / 450.2 MB, free: 5.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.58e-05/0.15, allocations: 35.98 kB / 450.3 MB, free: 5.824 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.1501, allocations: 75.34 kB / 450.3 MB, free: 5.738 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.1503, allocations: 123.5 kB / 450.4 MB, free: 5.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1503, allocations: 4 kB / 450.4 MB, free: 5.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000331/0.1507, allocations: 173.2 kB / 450.6 MB, free: 5.426 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1507, allocations: 8 kB / 450.6 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1507, allocations: 0 / 450.6 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.1507, allocations: 4 kB / 450.6 MB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.1509, allocations: 39.86 kB / 450.7 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.1509, allocations: 4 kB / 450.7 MB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.423e-05/0.151, allocations: 12.05 kB / 450.7 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.151, allocations: 8 kB / 450.7 MB, free: 5.352 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001488/0.1512, allocations: 157.7 kB / 450.8 MB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.1512, allocations: 27.7 kB / 450.9 MB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.554e-05/0.1513, allocations: 29.73 kB / 450.9 MB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.1513, allocations: 8.688 kB / 450.9 MB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1513, allocations: 3.938 kB / 450.9 MB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.1513, allocations: 0 / 450.9 MB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006943/0.152, allocations: 0.6163 MB / 451.5 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1521, allocations: 0 / 451.5 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.076e-05/0.1521, allocations: 31.92 kB / 451.6 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1521, allocations: 0 / 451.6 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.1522, allocations: 4 kB / 451.6 MB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1522, allocations: 0 / 451.6 MB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1522, allocations: 8.062 kB / 451.6 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.1525, allocations: 356.1 kB / 451.9 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.953e-05/0.1526, allocations: 104.8 kB / 452 MB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.1526, allocations: 8 kB / 452 MB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.1528, allocations: 11.98 kB / 452 MB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.1528, allocations: 11.98 kB / 452.1 MB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.1529, allocations: 8 kB / 452.1 MB, free: 3.863 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000234/0.1531, allocations: 261.9 kB / 452.3 MB, free: 3.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1531, allocations: 0 / 452.3 MB, free: 3.609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003183/0.1534, allocations: 44 kB / 452.4 MB, free: 3.566 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001662/0.1551, allocations: 1.269 MB / 453.6 MB, free: 2.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002799/0.1554, allocations: 111.9 kB / 453.7 MB, free: 2.191 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1554, allocations: 0 / 453.7 MB, free: 2.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.1555, allocations: 63.84 kB / 453.8 MB, free: 2.129 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005418/0.1561, allocations: 49.09 kB / 453.9 MB, free: 2.078 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.211/0.3671, allocations: 2.5 MB / 456.4 MB, free: 44.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.3674, allocations: 0.7502 MB / 457.1 MB, free: 44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.3675, allocations: 30.73 kB / 457.1 MB, free: 44 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.3677, allocations: 77.56 kB / 457.2 MB, free: 44 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.3677, allocations: 0.8125 kB / 457.2 MB, free: 44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01448/0.3822, allocations: 4.862 MB / 462.1 MB, free: 43.68 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001258/0.3823, allocations: 244.4 kB / 462.3 MB, free: 43.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.117, allocations: 4 kB / 462.3 MB, free: 43.41 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches