Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",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.001371/0.001371, allocations: 102.4 kB / 15.98 MB, free: 6.348 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.001793/0.001793, allocations: 194.5 kB / 16.91 MB, free: 6.191 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.789/1.789, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.4069/0.4069, allocations: 43.5 MB / 313.6 MB, free: 8.504 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.001618/0.001618, allocations: 67.89 kB / 382.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1388, allocations: 57.78 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.00329/0.1422, allocations: 1.752 MB / 441.9 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.1435, allocations: 0.7846 MB / 442.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.743e-05/0.1436, allocations: 0 / 442.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.1439, allocations: 87.75 kB / 442.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.1442, allocations: 67.8 kB / 442.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.1445, allocations: 83.83 kB / 442.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.1448, allocations: 103.7 kB / 443 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.714e-05/0.1449, allocations: 16.2 kB / 443 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.806e-05/0.145, allocations: 51.78 kB / 443.1 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.1451, allocations: 59.75 kB / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.1451, allocations: 4 kB / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.1452, allocations: 35.94 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.034e-05/0.1453, allocations: 31.89 kB / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.533e-05/0.1454, allocations: 35.75 kB / 443.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.1456, allocations: 119.8 kB / 443.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1456, allocations: 0 / 443.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1456, allocations: 0 / 443.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.1456, allocations: 0 / 443.3 MB, free: 11.39 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.0005309/0.1461, allocations: 418.9 kB / 443.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.1462, allocations: 15.89 kB / 443.8 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.772e-05/0.1462, allocations: 34.75 kB / 443.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.1463, allocations: 12.75 kB / 443.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.1465, allocations: 208.8 kB / 444 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1465, allocations: 8.359 kB / 444 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.1466, allocations: 7.938 kB / 444 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1467, allocations: 53.67 kB / 444.1 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1467, allocations: 0 / 444.1 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.1467, allocations: 3.938 kB / 444.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.1468, allocations: 11.98 kB / 444.1 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.962e-05/0.1468, allocations: 15.94 kB / 444.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.1472, allocations: 304.7 kB / 444.4 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.1474, allocations: 54.69 kB / 444.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.19e-05/0.1474, allocations: 20.84 kB / 444.5 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.1474, allocations: 0 / 444.5 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.1477, allocations: 75.33 kB / 444.6 MB, free: 9.996 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.1477, allocations: 0 / 444.6 MB, free: 9.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005275/0.1482, allocations: 169.2 kB / 444.7 MB, free: 9.824 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.1482, allocations: 51.41 kB / 444.8 MB, free: 9.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.1484, allocations: 214.3 kB / 445 MB, free: 9.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1485, allocations: 33.7 kB / 445 MB, free: 9.504 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/0.1485, allocations: 100.1 kB / 445.1 MB, free: 9.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.1486, allocations: 27.64 kB / 445.1 MB, free: 9.375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/0.1486, allocations: 29.72 kB / 445.2 MB, free: 9.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1488, allocations: 322.8 kB / 445.5 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.618e-05/0.1489, allocations: 19.98 kB / 445.5 MB, free: 8.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.524e-05/0.149, allocations: 37.7 kB / 445.5 MB, free: 8.953 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.1491, allocations: 61.62 kB / 445.6 MB, free: 8.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1491, allocations: 192 / 445.6 MB, free: 8.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002019/0.1493, allocations: 105.5 kB / 445.7 MB, free: 8.777 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1493, allocations: 11.88 kB / 445.7 MB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1493, allocations: 0 / 445.7 MB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1494, allocations: 4 kB / 445.7 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.271e-05/0.1495, allocations: 15.98 kB / 445.7 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.1495, allocations: 0 / 445.7 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.858e-05/0.1495, allocations: 7.938 kB / 445.7 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.1495, allocations: 0 / 445.7 MB, free: 8.738 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.0001167/0.1497, allocations: 133.9 kB / 445.9 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.1497, allocations: 11.91 kB / 445.9 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.059e-05/0.1497, allocations: 17.39 kB / 445.9 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1498, allocations: 0 / 445.9 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1498, allocations: 0 / 445.9 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.1498, allocations: 7.938 kB / 445.9 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000485/0.1503, allocations: 395.2 kB / 446.3 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1503, allocations: 4.312 kB / 446.3 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.511e-05/0.1503, allocations: 15.97 kB / 446.3 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.1503, allocations: 7.938 kB / 446.3 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.1504, allocations: 7.984 kB / 446.3 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.1504, allocations: 4 kB / 446.3 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1504, allocations: 0 / 446.3 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.1506, allocations: 196.5 kB / 446.5 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.1507, allocations: 88.92 kB / 446.6 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.1508, allocations: 11.94 kB / 446.6 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.874e-05/0.1509, allocations: 4 kB / 446.6 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.1509, allocations: 3.984 kB / 446.6 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.1509, allocations: 4 kB / 446.6 MB, free: 7.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.1511, allocations: 164.2 kB / 446.8 MB, free: 7.574 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1511, allocations: 0 / 446.8 MB, free: 7.574 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1513, allocations: 27.98 kB / 446.8 MB, free: 7.547 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.001538/0.1529, allocations: 1.114 MB / 447.9 MB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.1531, allocations: 59.91 kB / 448 MB, free: 6.387 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1531, allocations: 4 kB / 448 MB, free: 6.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.018e-05/0.1532, allocations: 27.92 kB / 448 MB, free: 6.355 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.1535, allocations: 27.84 kB / 448 MB, free: 6.328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.1554, allocations: 1.706 MB / 449.8 MB, free: 4.535 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.1557, allocations: 0.7119 MB / 450.5 MB, free: 3.797 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.294e-05/0.1558, allocations: 12.86 kB / 450.5 MB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/0.1558, allocations: 35.42 kB / 450.5 MB, free: 3.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1558, allocations: 0 / 450.5 MB, free: 3.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01406/0.1699, allocations: 3.306 MB / 453.8 MB, free: 432 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/0.1702, allocations: 241.3 kB / 454.1 MB, free: 164 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/1.995, allocations: 0 / 454.1 MB, free: 164 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches