Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",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.0008751/0.0008754, allocations: 91.8 kB / 17.35 MB, free: 6.344 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.0009854/0.0009856, allocations: 171.2 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.241/0.241, allocations: 44.25 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003184, allocations: 12.66 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1264, allocations: 61.93 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002176/0.1287, allocations: 1.421 MB / 473.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.13, allocations: 0.8382 MB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/0.1301, allocations: 0 / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.1304, allocations: 43.89 kB / 474.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002192/0.1306, allocations: 43.83 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.131, allocations: 94.14 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.1312, allocations: 95.69 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.9e-05/0.1313, allocations: 12.22 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.596e-05/0.1313, allocations: 35.8 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.142e-05/0.1314, allocations: 31.84 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.1314, allocations: 4 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.184e-05/0.1315, allocations: 43.92 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.327e-05/0.1316, allocations: 19.92 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.39e-05/0.1317, allocations: 65.41 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.1319, allocations: 107.9 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1319, allocations: 0 / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1319, allocations: 0 / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.1319, allocations: 0 / 475.2 MB, free: 10.37 MB / 350.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.0005745/0.1325, allocations: 409.3 kB / 475.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1325, allocations: 8.031 kB / 475.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.625e-05/0.1326, allocations: 42.69 kB / 475.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.1326, allocations: 8.844 kB / 475.7 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.1328, allocations: 208.7 kB / 475.9 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1329, allocations: 384 / 475.9 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.1329, allocations: 11.94 kB / 475.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.1331, allocations: 53.67 kB / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1331, allocations: 0 / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.1331, allocations: 4 kB / 475.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1331, allocations: 0 / 475.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.147e-05/0.1332, allocations: 19.98 kB / 476 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.1336, allocations: 288.7 kB / 476.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.1338, allocations: 62.67 kB / 476.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.17e-05/0.1339, allocations: 20.86 kB / 476.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.1339, allocations: 7.984 kB / 476.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.1341, allocations: 75.31 kB / 476.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1341, allocations: 0 / 476.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005515/0.1347, allocations: 165.2 kB / 476.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.1347, allocations: 59.34 kB / 476.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.1349, allocations: 207.3 kB / 476.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.135, allocations: 29.69 kB / 476.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.242e-05/0.1351, allocations: 104.1 kB / 477 MB, free: 8.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.1351, allocations: 23.7 kB / 477 MB, free: 8.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.1352, allocations: 13.66 kB / 477 MB, free: 8.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1353, allocations: 326.8 kB / 477.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.495e-05/0.1353, allocations: 19.98 kB / 477.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.385e-05/0.1354, allocations: 37.7 kB / 477.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.1355, allocations: 61.66 kB / 477.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1355, allocations: 0 / 477.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001717/0.1357, allocations: 97.56 kB / 477.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1357, allocations: 6.344 kB / 477.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1358, allocations: 4 kB / 477.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1358, allocations: 0 / 477.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.691e-05/0.1359, allocations: 19.92 kB / 477.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1359, allocations: 4.031 kB / 477.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/0.1359, allocations: 15.88 kB / 477.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.964e-06/0.136, allocations: 4 kB / 477.6 MB, free: 7.754 MB / 350.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.0001128/0.1361, allocations: 125.8 kB / 477.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.1361, allocations: 19.81 kB / 477.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.98e-05/0.1361, allocations: 13.56 kB / 477.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1362, allocations: 0 / 477.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1362, allocations: 0 / 477.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1362, allocations: 7.922 kB / 477.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004874/0.1367, allocations: 399.3 kB / 478.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1367, allocations: 0 / 478.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.1367, allocations: 8 kB / 478.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.1367, allocations: 7.938 kB / 478.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.1367, allocations: 0 / 478.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1367, allocations: 0 / 478.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.217e-06/0.1368, allocations: 3.938 kB / 478.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.137, allocations: 208.2 kB / 478.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.1371, allocations: 85.02 kB / 478.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.1371, allocations: 11.92 kB / 478.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.409e-05/0.1372, allocations: 7.984 kB / 478.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.1372, allocations: 4 kB / 478.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.1372, allocations: 4 kB / 478.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.1374, allocations: 156.9 kB / 478.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1374, allocations: 0 / 478.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.1376, allocations: 23.98 kB / 478.6 MB, free: 6.586 MB / 350.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.001566/0.1392, allocations: 1.097 MB / 479.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001704/0.1394, allocations: 63.89 kB / 479.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1394, allocations: 0 / 479.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.372e-05/0.1395, allocations: 24 kB / 479.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.1398, allocations: 32.09 kB / 479.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.1415, allocations: 1.678 MB / 481.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.1419, allocations: 0.7082 MB / 482.2 MB, free: 3.023 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.054e-05/0.1419, allocations: 12.88 kB / 482.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.422e-05/0.142, allocations: 35.42 kB / 482.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.142, allocations: 0 / 482.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01356/0.1556, allocations: 3 MB / 485.3 MB, free: 108 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/0.1558, allocations: 237 kB / 485.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/1.905, allocations: 4 kB / 485.5 MB, free: 15.85 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches