Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",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.00104/0.001039, allocations: 103.1 kB / 16.02 MB, free: 76 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.001199/0.001198, allocations: 184.6 kB / 16.92 MB, free: 6.918 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.552/1.552, allocations: 205.4 MB / 223.1 MB, free: 5.52 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.3796/0.3796, allocations: 43.58 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.0005582/0.0005581, allocations: 20.38 kB / 384.7 MB, free: 7.777 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1341, allocations: 58.87 MB / 443.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002107/0.1363, allocations: 1.41 MB / 445 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.1384, allocations: 1.363 MB / 446.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.445e-05/0.1385, allocations: 0 / 446.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.1388, allocations: 35.84 kB / 446.4 MB, free: 9.973 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.1389, allocations: 47.83 kB / 446.4 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.1392, allocations: 75.86 kB / 446.5 MB, free: 9.852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.1393, allocations: 91.69 kB / 446.6 MB, free: 9.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.1394, allocations: 16.2 kB / 446.6 MB, free: 9.746 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.924e-05/0.1395, allocations: 35.8 kB / 446.6 MB, free: 9.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.1397, allocations: 39.78 kB / 446.7 MB, free: 9.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1397, allocations: 4 kB / 446.7 MB, free: 9.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.1398, allocations: 59.95 kB / 446.7 MB, free: 9.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.647e-05/0.1399, allocations: 15.92 kB / 446.7 MB, free: 9.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.944e-05/0.14, allocations: 53.52 kB / 446.8 MB, free: 9.535 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.1402, allocations: 119.9 kB / 446.9 MB, free: 9.418 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.1402, allocations: 0 / 446.9 MB, free: 9.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1402, allocations: 0 / 446.9 MB, free: 9.418 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1402, allocations: 0 / 446.9 MB, free: 9.418 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.0006636/0.1409, allocations: 407.1 kB / 447.3 MB, free: 8.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.141, allocations: 8.031 kB / 447.3 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.912e-05/0.141, allocations: 34.75 kB / 447.4 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.1411, allocations: 8.844 kB / 447.4 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.1413, allocations: 204.1 kB / 447.6 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1414, allocations: 384 / 447.6 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.1414, allocations: 11.94 kB / 447.6 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.1416, allocations: 67.39 kB / 447.6 MB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1416, allocations: 7.938 kB / 447.6 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1417, allocations: 3.984 kB / 447.6 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.1417, allocations: 4 kB / 447.7 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.744e-05/0.1418, allocations: 19.92 kB / 447.7 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.1422, allocations: 280.9 kB / 447.9 MB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.1424, allocations: 62.67 kB / 448 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.862e-05/0.1425, allocations: 20.84 kB / 448 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.1425, allocations: 3.938 kB / 448 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.1427, allocations: 67.39 kB / 448.1 MB, free: 8.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1427, allocations: 0 / 448.1 MB, free: 8.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006143/0.1434, allocations: 173.2 kB / 448.3 MB, free: 7.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/0.1434, allocations: 85.05 kB / 448.4 MB, free: 7.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.1437, allocations: 154.5 kB / 448.5 MB, free: 7.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.1437, allocations: 25.7 kB / 448.5 MB, free: 7.582 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/0.1438, allocations: 100 kB / 448.6 MB, free: 7.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.1438, allocations: 27.64 kB / 448.7 MB, free: 7.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.1438, allocations: 17.72 kB / 448.7 MB, free: 7.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.144, allocations: 322.8 kB / 449 MB, free: 7.105 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.468e-05/0.1441, allocations: 16 kB / 449 MB, free: 7.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.905e-05/0.1441, allocations: 46.56 kB / 449 MB, free: 7.035 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.1443, allocations: 61.64 kB / 449.1 MB, free: 6.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1443, allocations: 0 / 449.1 MB, free: 6.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001828/0.1445, allocations: 101.5 kB / 449.2 MB, free: 6.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1445, allocations: 11.98 kB / 449.2 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1445, allocations: 160 / 449.2 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1446, allocations: 0 / 449.2 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.789e-05/0.1447, allocations: 16.06 kB / 449.2 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.1447, allocations: 7.984 kB / 449.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.217e-05/0.1447, allocations: 7.922 kB / 449.2 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.1447, allocations: 4 kB / 449.3 MB, free: 6.816 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.0001158/0.1449, allocations: 121.8 kB / 449.4 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.1449, allocations: 7.906 kB / 449.4 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.928e-05/0.1449, allocations: 12.72 kB / 449.4 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.145, allocations: 3.984 kB / 449.4 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.145, allocations: 4 kB / 449.4 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.145, allocations: 7.875 kB / 449.4 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00044/0.1454, allocations: 379.3 kB / 449.8 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1454, allocations: 0 / 449.8 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.309e-05/0.1455, allocations: 11.94 kB / 449.8 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1455, allocations: 8.312 kB / 449.8 MB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1455, allocations: 7.984 kB / 449.8 MB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1455, allocations: 4 kB / 449.8 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1455, allocations: 4.031 kB / 449.8 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.1457, allocations: 196.3 kB / 450 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/0.1458, allocations: 93 kB / 450.1 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.1458, allocations: 7.938 kB / 450.1 MB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-05/0.1459, allocations: 4 kB / 450.1 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.146, allocations: 12.11 kB / 450.1 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.146, allocations: 8 kB / 450.1 MB, free: 5.836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.1461, allocations: 122.6 kB / 450.2 MB, free: 5.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1461, allocations: 0 / 450.2 MB, free: 5.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1464, allocations: 31.91 kB / 450.3 MB, free: 5.688 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.001607/0.148, allocations: 1.141 MB / 451.4 MB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.1482, allocations: 59.86 kB / 451.5 MB, free: 4.496 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1482, allocations: 0 / 451.5 MB, free: 4.496 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.48e-05/0.1483, allocations: 35.92 kB / 451.5 MB, free: 4.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.1487, allocations: 23.97 kB / 451.5 MB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.1507, allocations: 1.573 MB / 453.1 MB, free: 2.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.151, allocations: 0.6926 MB / 453.8 MB, free: 2.059 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.307e-05/0.1511, allocations: 21.34 kB / 453.8 MB, free: 2.031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.927e-05/0.1512, allocations: 31.42 kB / 453.9 MB, free: 2.004 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1512, allocations: 0 / 453.9 MB, free: 2.004 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2254/0.3766, allocations: 3.066 MB / 456.9 MB, free: 45.92 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001534/0.3768, allocations: 239.2 kB / 457.2 MB, free: 45.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.228, allocations: 0 / 457.2 MB, free: 45.66 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches