Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008594/0.0008595, allocations: 96.44 kB / 15.69 MB, free: 480 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.0009361/0.0009362, allocations: 173.9 kB / 16.57 MB, free: 6.391 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.416/1.416, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.3275/0.3275, allocations: 43.54 MB / 314.5 MB, free: 9.004 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.0005528/0.000553, allocations: 24 kB / 383.9 MB, free: 8.262 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1344, allocations: 58.86 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002254/0.1367, allocations: 1.352 MB / 444.1 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.138, allocations: 0.7149 MB / 444.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.1382, allocations: 4 kB / 444.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.1385, allocations: 31.84 kB / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.1388, allocations: 47.88 kB / 444.9 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.1391, allocations: 75.77 kB / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.1393, allocations: 59.86 kB / 445 MB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.599e-05/0.1394, allocations: 7.984 kB / 445.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1395, allocations: 43.84 kB / 445.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.702e-05/0.1396, allocations: 27.84 kB / 445.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.1396, allocations: 0 / 445.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1397, allocations: 20 kB / 445.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.632e-05/0.1398, allocations: 23.91 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.706e-05/0.1399, allocations: 37.64 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.14, allocations: 92.03 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.14, allocations: 0 / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.14, allocations: 0 / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1401, allocations: 0 / 445.3 MB, free: 10.75 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000621/0.1407, allocations: 426.7 kB / 445.7 MB, free: 10.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.1407, allocations: 8.031 kB / 445.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.456e-05/0.1408, allocations: 15.81 kB / 445.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.1411, allocations: 202.9 kB / 445.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.1411, allocations: 4 kB / 445.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.1411, allocations: 7.875 kB / 445.9 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1413, allocations: 45.67 kB / 446 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1413, allocations: 0 / 446 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.1413, allocations: 12 kB / 446 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1413, allocations: 3.953 kB / 446 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.567e-05/0.1414, allocations: 15.92 kB / 446 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002284/0.1416, allocations: 185.7 kB / 446.2 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.1418, allocations: 54.55 kB / 446.3 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.1419, allocations: 4 kB / 446.3 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.1421, allocations: 71.39 kB / 446.3 MB, free: 9.547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.1421, allocations: 0 / 446.3 MB, free: 9.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002827/0.1424, allocations: 93.75 kB / 446.4 MB, free: 9.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.1424, allocations: 63.3 kB / 446.5 MB, free: 9.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.1427, allocations: 254.5 kB / 446.7 MB, free: 9.113 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.1427, allocations: 29.7 kB / 446.8 MB, free: 9.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.1428, allocations: 112.1 kB / 446.9 MB, free: 8.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.1428, allocations: 19.8 kB / 446.9 MB, free: 8.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.1428, allocations: 0 / 446.9 MB, free: 8.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1429, allocations: 326.8 kB / 447.2 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.44e-05/0.143, allocations: 12 kB / 447.2 MB, free: 8.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.079e-05/0.143, allocations: 25.7 kB / 447.2 MB, free: 8.574 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.44e-05/0.1431, allocations: 28.05 kB / 447.3 MB, free: 8.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.1431, allocations: 0 / 447.3 MB, free: 8.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001454/0.1433, allocations: 85.44 kB / 447.4 MB, free: 8.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1433, allocations: 8 kB / 447.4 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1433, allocations: 0 / 447.4 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1433, allocations: 0 / 447.4 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.474e-05/0.1434, allocations: 8 kB / 447.4 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1434, allocations: 0 / 447.4 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.1435, allocations: 15.88 kB / 447.4 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.1435, allocations: 4 kB / 447.4 MB, free: 8.422 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.1436, allocations: 137.8 kB / 447.5 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.1436, allocations: 15.81 kB / 447.5 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.692e-05/0.1437, allocations: 17 kB / 447.6 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1437, allocations: 7.922 kB / 447.6 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1437, allocations: 0 / 447.6 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1437, allocations: 0 / 447.6 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.1439, allocations: 197.6 kB / 447.8 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1439, allocations: 3.984 kB / 447.8 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.786e-05/0.1439, allocations: 4 kB / 447.8 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1439, allocations: 0 / 447.8 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.1439, allocations: 7.938 kB / 447.8 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1439, allocations: 8.094 kB / 447.8 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1439, allocations: 0 / 447.8 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.1441, allocations: 112.9 kB / 447.9 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.1442, allocations: 85.02 kB / 448 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.1442, allocations: 4 kB / 448 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.865e-05/0.1442, allocations: 4.109 kB / 448 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.1443, allocations: 4 kB / 448 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.1443, allocations: 12 kB / 448 MB, free: 7.719 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001592/0.1445, allocations: 207.9 kB / 448.2 MB, free: 7.516 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1445, allocations: 0 / 448.2 MB, free: 7.516 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002104/0.1447, allocations: 16 kB / 448.2 MB, free: 7.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008959/0.1456, allocations: 406 kB / 448.6 MB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.1458, allocations: 35.98 kB / 448.6 MB, free: 7.098 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.1458, allocations: 4 kB / 448.6 MB, free: 7.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.8e-05/0.1458, allocations: 27.98 kB / 448.7 MB, free: 7.066 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.1461, allocations: 23.94 kB / 448.7 MB, free: 7.043 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.1465, allocations: 278 kB / 449 MB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.1468, allocations: 0.7121 MB / 449.7 MB, free: 6.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.581e-05/0.1469, allocations: 16.55 kB / 449.7 MB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.1469, allocations: 15.44 kB / 449.7 MB, free: 5.977 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1469, allocations: 0 / 449.7 MB, free: 5.977 MB / 382.1 MB Notification: Performance of Templates: time 0.003812/0.1507, allocations: 1.406 MB / 451.1 MB, free: 4.574 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches