Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",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.001144/0.001144, allocations: 97.09 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.001612/0.001612, allocations: 177 kB / 16.92 MB, free: 6.684 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.493/1.493, allocations: 205.4 MB / 223.1 MB, free: 5.543 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.3647/0.3647, allocations: 43.57 MB / 315 MB, free: 9.102 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.0005115/0.0005118, allocations: 12 kB / 384.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1345, allocations: 58.87 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002134/0.1367, allocations: 1.418 MB / 445 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.138, allocations: 0.773 MB / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.1381, allocations: 0 / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.1385, allocations: 83.75 kB / 445.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.1387, allocations: 67.8 kB / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.1389, allocations: 75.86 kB / 446 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.1391, allocations: 103.7 kB / 446.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1392, allocations: 12.22 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1393, allocations: 51.77 kB / 446.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.1395, allocations: 51.83 kB / 446.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1395, allocations: 0 / 446.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.877e-05/0.1396, allocations: 39.97 kB / 446.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.614e-05/0.1397, allocations: 23.86 kB / 446.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.501e-05/0.1397, allocations: 65.44 kB / 446.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.14, allocations: 119.8 kB / 446.4 MB, free: 9.922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.14, allocations: 0 / 446.4 MB, free: 9.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.14, allocations: 0 / 446.4 MB, free: 9.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.14, allocations: 0 / 446.4 MB, free: 9.922 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.0006783/0.1407, allocations: 399.1 kB / 446.8 MB, free: 9.484 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.1407, allocations: 15.97 kB / 446.8 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.701e-05/0.1408, allocations: 30.75 kB / 446.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.1409, allocations: 12.75 kB / 446.9 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.1411, allocations: 216.8 kB / 447.1 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1412, allocations: 4.375 kB / 447.1 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.1412, allocations: 3.938 kB / 447.1 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.1414, allocations: 53.67 kB / 447.1 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1414, allocations: 0 / 447.1 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1415, allocations: 15.98 kB / 447.2 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.1415, allocations: 3.984 kB / 447.2 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.663e-05/0.1415, allocations: 12 kB / 447.2 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.142, allocations: 304.7 kB / 447.5 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.1422, allocations: 50.69 kB / 447.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.1422, allocations: 24.84 kB / 447.5 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.1423, allocations: 4 kB / 447.5 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.1425, allocations: 67.3 kB / 447.6 MB, free: 8.555 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1425, allocations: 3.938 kB / 447.6 MB, free: 8.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005673/0.1431, allocations: 173.2 kB / 447.8 MB, free: 8.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.1431, allocations: 51.41 kB / 447.8 MB, free: 8.312 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.1433, allocations: 226.2 kB / 448.1 MB, free: 8.082 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.1434, allocations: 25.7 kB / 448.1 MB, free: 8.051 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/0.1434, allocations: 104.1 kB / 448.2 MB, free: 7.945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.1435, allocations: 27.64 kB / 448.2 MB, free: 7.918 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.1435, allocations: 17.72 kB / 448.2 MB, free: 7.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1437, allocations: 322.8 kB / 448.5 MB, free: 7.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.689e-05/0.1437, allocations: 23.98 kB / 448.6 MB, free: 7.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.59e-05/0.1438, allocations: 33.7 kB / 448.6 MB, free: 7.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.1439, allocations: 57.72 kB / 448.7 MB, free: 7.445 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.1439, allocations: 3.984 kB / 448.7 MB, free: 7.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001725/0.1441, allocations: 101.4 kB / 448.8 MB, free: 7.336 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1441, allocations: 4 kB / 448.8 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1441, allocations: 4 kB / 448.8 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1442, allocations: 0 / 448.8 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.232e-05/0.1443, allocations: 19.92 kB / 448.8 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1443, allocations: 4.031 kB / 448.8 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.658e-05/0.1443, allocations: 7.938 kB / 448.8 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.1444, allocations: 8.188 kB / 448.8 MB, free: 7.289 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.0001186/0.1445, allocations: 129.5 kB / 448.9 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.1445, allocations: 11.84 kB / 448.9 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.1446, allocations: 13.41 kB / 449 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1446, allocations: 7.984 kB / 449 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1446, allocations: 0 / 449 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1446, allocations: 3.938 kB / 449 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/0.1451, allocations: 403.4 kB / 449.4 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1451, allocations: 0 / 449.4 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.98e-05/0.1451, allocations: 8 kB / 449.4 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.1451, allocations: 3.938 kB / 449.4 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.1451, allocations: 16.3 kB / 449.4 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1451, allocations: 0 / 449.4 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1452, allocations: 4 kB / 449.4 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.1454, allocations: 204.2 kB / 449.6 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.529e-05/0.1455, allocations: 92.92 kB / 449.7 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.1455, allocations: 11.92 kB / 449.7 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.575e-05/0.1456, allocations: 0 / 449.7 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.1456, allocations: 8 kB / 449.7 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.1456, allocations: 7.984 kB / 449.7 MB, free: 6.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.1458, allocations: 160.2 kB / 449.9 MB, free: 6.121 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1458, allocations: 0 / 449.9 MB, free: 6.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.146, allocations: 24 kB / 449.9 MB, free: 6.098 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.00151/0.1476, allocations: 1.09 MB / 451 MB, free: 5.012 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.1477, allocations: 55.92 kB / 451 MB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.1478, allocations: 0 / 451 MB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.072e-05/0.1478, allocations: 39.84 kB / 451.1 MB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.1482, allocations: 28.11 kB / 451.1 MB, free: 4.891 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.1501, allocations: 1.713 MB / 452.8 MB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.1504, allocations: 0.7043 MB / 453.5 MB, free: 2.352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.86e-05/0.1505, allocations: 28.45 kB / 453.5 MB, free: 2.324 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.688e-05/0.1505, allocations: 39.42 kB / 453.6 MB, free: 2.285 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1506, allocations: 4 kB / 453.6 MB, free: 2.281 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2118/0.3624, allocations: 3.016 MB / 456.6 MB, free: 45.46 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/0.3626, allocations: 237.6 kB / 456.8 MB, free: 45.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.233, allocations: 3.656 kB / 456.8 MB, free: 45.21 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches