Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001493, allocations: 104.1 kB / 16.27 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.001329/0.001329, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.726/1.726, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2494/0.2494, allocations: 43.53 MB / 313.9 MB, free: 0.5312 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.00178/0.00178, allocations: 72.3 kB / 382.7 MB, free: 56.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1407, allocations: 57.79 MB / 440.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003769/0.1445, allocations: 1.689 MB / 442.2 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.146, allocations: 0.8039 MB / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.1462, allocations: 0 / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003648/0.1466, allocations: 43.77 kB / 443.1 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.1468, allocations: 55.75 kB / 443.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.1471, allocations: 83.7 kB / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.1473, allocations: 99.7 kB / 443.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.1475, allocations: 16.48 kB / 443.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.1476, allocations: 39.78 kB / 443.4 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.105e-05/0.1477, allocations: 31.86 kB / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.1477, allocations: 0 / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.1478, allocations: 43.97 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.121e-05/0.1479, allocations: 23.92 kB / 443.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.539e-05/0.148, allocations: 31.75 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.1483, allocations: 111.7 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1483, allocations: 3.938 kB / 443.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1483, allocations: 0 / 443.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.1483, allocations: 0 / 443.6 MB, free: 3.82 MB / 318.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.0006431/0.1489, allocations: 414.9 kB / 444 MB, free: 3.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.149, allocations: 11.89 kB / 444 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.1491, allocations: 12.84 kB / 444 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.1493, allocations: 205.2 kB / 444.2 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1493, allocations: 4.375 kB / 444.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.1494, allocations: 12.12 kB / 444.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.1495, allocations: 49.67 kB / 444.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1496, allocations: 4 kB / 444.3 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.1496, allocations: 4 kB / 444.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1496, allocations: 0 / 444.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.82e-05/0.1497, allocations: 19.92 kB / 444.3 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005037/0.1502, allocations: 288.8 kB / 444.6 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.1504, allocations: 62.67 kB / 444.7 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-05/0.1505, allocations: 16.86 kB / 444.7 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.1506, allocations: 3.938 kB / 444.7 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000321/0.1509, allocations: 67.33 kB / 444.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.214e-06/0.1509, allocations: 4 kB / 444.7 MB, free: 2.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007931/0.1517, allocations: 181.1 kB / 444.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.1518, allocations: 55.34 kB / 445 MB, free: 2.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.1519, allocations: 190.1 kB / 445.2 MB, free: 2.055 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.152, allocations: 29.7 kB / 445.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.492e-05/0.152, allocations: 100.1 kB / 445.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.152, allocations: 23.7 kB / 445.3 MB, free: 1.895 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.1521, allocations: 25.7 kB / 445.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.466e-05/0.1522, allocations: 330.8 kB / 445.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-05/0.1522, allocations: 20 kB / 445.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.586e-05/0.1523, allocations: 33.7 kB / 445.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.513e-05/0.1524, allocations: 61.64 kB / 445.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1524, allocations: 0 / 445.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001645/0.1526, allocations: 97.53 kB / 445.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1526, allocations: 16.02 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1526, allocations: 0 / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.1526, allocations: 0 / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.007e-05/0.1527, allocations: 12 kB / 445.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.1528, allocations: 4 kB / 445.9 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.622e-05/0.1528, allocations: 3.938 kB / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.1528, allocations: 7.984 kB / 445.9 MB, free: 1.262 MB / 318.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 8.54e-05/0.1529, allocations: 125.8 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.1529, allocations: 11.81 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.34e-05/0.153, allocations: 24.7 kB / 446.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.153, allocations: 0 / 446.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.153, allocations: 0 / 446.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.153, allocations: 7.875 kB / 446.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.1534, allocations: 391.3 kB / 446.5 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1534, allocations: 3.984 kB / 446.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.164e-05/0.1534, allocations: 11.94 kB / 446.5 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1534, allocations: 4.031 kB / 446.5 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.1535, allocations: 7.922 kB / 446.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1535, allocations: 4 kB / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1535, allocations: 0 / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.1537, allocations: 196.3 kB / 446.7 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.1537, allocations: 85.2 kB / 446.8 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.1537, allocations: 3.938 kB / 446.8 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.699e-05/0.1538, allocations: 12.3 kB / 446.8 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.1539, allocations: 15.88 kB / 446.8 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.1539, allocations: 4 kB / 446.8 MB, free: 264 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.341e-05/0.154, allocations: 143.2 kB / 446.9 MB, free: 120 kB / 318.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.154, allocations: 0 / 446.9 MB, free: 120 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1543, allocations: 27.91 kB / 447 MB, free: 92 kB / 318.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.001173/0.1554, allocations: 470.7 kB / 447.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.1557, allocations: 63.91 kB / 447.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1557, allocations: 0 / 447.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.864e-05/0.1558, allocations: 31.98 kB / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.1562, allocations: 25.31 kB / 447.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005565/0.1568, allocations: 227.2 kB / 447.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.1571, allocations: 0.7041 MB / 448.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.757e-05/0.1572, allocations: 17.19 kB / 448.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.1573, allocations: 15.44 kB / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1573, allocations: 3.938 kB / 448.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of Templates: time 0.006084/0.1634, allocations: 1.68 MB / 450.2 MB, free: 12.91 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches