Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33",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.0009281/0.0009328, allocations: 96.94 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.001113/0.001113, allocations: 185.3 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.484/1.484, allocations: 205.4 MB / 223.1 MB, free: 5.5 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.3888/0.3888, allocations: 43.57 MB / 315 MB, free: 9.086 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.0005489/0.000549, allocations: 20 kB / 384.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.131, allocations: 58.86 MB / 443.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002186/0.1333, allocations: 1.41 MB / 445 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.1347, allocations: 0.773 MB / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.466e-05/0.1348, allocations: 0 / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.1351, allocations: 43.77 kB / 445.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.1353, allocations: 43.83 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.1355, allocations: 75.84 kB / 445.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.1357, allocations: 91.7 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1358, allocations: 12.2 kB / 446 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.109e-05/0.1359, allocations: 43.78 kB / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.942e-05/0.136, allocations: 27.86 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.136, allocations: 0 / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.113e-05/0.1361, allocations: 43.92 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.496e-05/0.1362, allocations: 23.91 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.552e-05/0.1362, allocations: 57.44 kB / 446.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.1364, allocations: 107.9 kB / 446.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.1365, allocations: 8 kB / 446.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1365, allocations: 0 / 446.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.1365, allocations: 0 / 446.3 MB, free: 10.03 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.0005819/0.1371, allocations: 395.1 kB / 446.7 MB, free: 9.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1371, allocations: 8.031 kB / 446.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.936e-05/0.1372, allocations: 38.73 kB / 446.7 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.1372, allocations: 8.844 kB / 446.7 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.1375, allocations: 212 kB / 447 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1375, allocations: 8.359 kB / 447 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.1375, allocations: 7.938 kB / 447 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.1377, allocations: 53.67 kB / 447 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.1377, allocations: 0 / 447 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1377, allocations: 7.938 kB / 447 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1377, allocations: 8 kB / 447 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.842e-05/0.1378, allocations: 15.98 kB / 447.1 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.1382, allocations: 292.7 kB / 447.3 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.1384, allocations: 50.69 kB / 447.4 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.356e-05/0.1384, allocations: 28.84 kB / 447.4 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.1385, allocations: 0 / 447.4 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.1387, allocations: 67.33 kB / 447.5 MB, free: 8.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1387, allocations: 0 / 447.5 MB, free: 8.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005541/0.1393, allocations: 169.2 kB / 447.6 MB, free: 8.508 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.1393, allocations: 59.34 kB / 447.7 MB, free: 8.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.1395, allocations: 194.1 kB / 447.9 MB, free: 8.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1395, allocations: 25.7 kB / 447.9 MB, free: 8.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.1396, allocations: 100.1 kB / 448 MB, free: 8.102 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.1396, allocations: 23.7 kB / 448 MB, free: 8.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.1397, allocations: 13.72 kB / 448.1 MB, free: 8.059 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1398, allocations: 322.8 kB / 448.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.1399, allocations: 23.98 kB / 448.4 MB, free: 7.711 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-05/0.1399, allocations: 41.64 kB / 448.4 MB, free: 7.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.1401, allocations: 65.62 kB / 448.5 MB, free: 7.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1401, allocations: 0 / 448.5 MB, free: 7.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001816/0.1403, allocations: 93.59 kB / 448.6 MB, free: 7.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1403, allocations: 4 kB / 448.6 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1403, allocations: 4 kB / 448.6 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1403, allocations: 0 / 448.6 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.65e-05/0.1404, allocations: 19.92 kB / 448.6 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1404, allocations: 4.031 kB / 448.6 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.95e-05/0.1405, allocations: 7.938 kB / 448.6 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.1405, allocations: 8 kB / 448.6 MB, free: 7.449 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.0001015/0.1406, allocations: 121.8 kB / 448.8 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.1406, allocations: 11.81 kB / 448.8 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/0.1407, allocations: 12.72 kB / 448.8 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1407, allocations: 4 kB / 448.8 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1407, allocations: 0 / 448.8 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.1407, allocations: 11.92 kB / 448.8 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.1412, allocations: 387.3 kB / 449.2 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1412, allocations: 7.938 kB / 449.2 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.1412, allocations: 8 kB / 449.2 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.1412, allocations: 3.938 kB / 449.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.1412, allocations: 384 / 449.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1412, allocations: 0 / 449.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1413, allocations: 7.938 kB / 449.2 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.1415, allocations: 208.3 kB / 449.4 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.1415, allocations: 88.92 kB / 449.5 MB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.1416, allocations: 11.92 kB / 449.5 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.864e-05/0.1417, allocations: 4 kB / 449.5 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.1417, allocations: 3.984 kB / 449.5 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.1417, allocations: 4 kB / 449.5 MB, free: 6.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.1418, allocations: 156 kB / 449.7 MB, free: 6.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1419, allocations: 0 / 449.7 MB, free: 6.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.1421, allocations: 24 kB / 449.7 MB, free: 6.293 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.001523/0.1436, allocations: 1.114 MB / 450.8 MB, free: 5.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.1438, allocations: 51.92 kB / 450.9 MB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1438, allocations: 0 / 450.9 MB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.814e-05/0.1439, allocations: 31.98 kB / 450.9 MB, free: 5.102 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.1443, allocations: 28.11 kB / 450.9 MB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.146, allocations: 1.65 MB / 452.6 MB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.1463, allocations: 0.7004 MB / 453.3 MB, free: 2.605 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.497e-05/0.1463, allocations: 21.11 kB / 453.3 MB, free: 2.586 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.1464, allocations: 35.42 kB / 453.3 MB, free: 2.551 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1464, allocations: 0 / 453.3 MB, free: 2.551 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.218/0.3644, allocations: 2.915 MB / 456.2 MB, free: 45.14 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/0.3646, allocations: 239.5 kB / 456.5 MB, free: 44.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.245, allocations: 2.297 kB / 456.5 MB, free: 44.89 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches