Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 107.4 kB / 17.03 MB, free: 5.66 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.001171/0.001171, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.587/1.587, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2272/0.2272, allocations: 43.52 MB / 314.7 MB, free: 468 kB / 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.001506/0.001506, allocations: 68.53 kB / 384.2 MB, free: 56.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1293, allocations: 57.78 MB / 442 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002952/0.1323, allocations: 1.693 MB / 443.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.1334, allocations: 0.8039 MB / 444.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.093e-05/0.1335, allocations: 0 / 444.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.1338, allocations: 51.75 kB / 444.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.1341, allocations: 59.75 kB / 444.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.1343, allocations: 83.64 kB / 444.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.1345, allocations: 115.7 kB / 444.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1346, allocations: 12.23 kB / 444.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.641e-05/0.1347, allocations: 55.77 kB / 444.8 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.927e-05/0.1348, allocations: 47.77 kB / 444.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.1348, allocations: 4 kB / 444.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.002e-05/0.1349, allocations: 43.98 kB / 444.9 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.672e-05/0.135, allocations: 27.91 kB / 445 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.996e-05/0.1351, allocations: 39.73 kB / 445 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.1352, allocations: 127.5 kB / 445.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1353, allocations: 0 / 445.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1353, allocations: 0 / 445.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1353, allocations: 0 / 445.1 MB, free: 2.945 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005257/0.1358, allocations: 426.9 kB / 445.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1359, allocations: 11.89 kB / 445.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.1359, allocations: 16.73 kB / 445.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.1362, allocations: 218.2 kB / 445.8 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.1362, allocations: 8.297 kB / 445.8 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.1362, allocations: 12.12 kB / 445.8 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1364, allocations: 65.66 kB / 445.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1364, allocations: 0 / 445.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1364, allocations: 7.938 kB / 445.9 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1364, allocations: 0 / 445.9 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.387e-05/0.1365, allocations: 43.97 kB / 445.9 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.1369, allocations: 304.7 kB / 446.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.1371, allocations: 78.67 kB / 446.3 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.272e-05/0.1371, allocations: 36.78 kB / 446.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.1372, allocations: 0 / 446.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.1373, allocations: 79.44 kB / 446.4 MB, free: 1.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.1373, allocations: 3.938 kB / 446.4 MB, free: 1.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005845/0.1379, allocations: 225.4 kB / 446.6 MB, free: 1.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.138, allocations: 51.41 kB / 446.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.1381, allocations: 183.3 kB / 446.9 MB, free: 1.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1381, allocations: 33.69 kB / 446.9 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.1382, allocations: 108.1 kB / 447 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.1382, allocations: 31.55 kB / 447 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.1382, allocations: 29.7 kB / 447 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.393e-05/0.1383, allocations: 322.8 kB / 447.4 MB, free: 492 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.162e-05/0.1384, allocations: 27.98 kB / 447.4 MB, free: 464 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-05/0.1384, allocations: 49.58 kB / 447.4 MB, free: 408 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.1386, allocations: 81.7 kB / 447.5 MB, free: 320 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1386, allocations: 0 / 447.5 MB, free: 320 kB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001833/0.1388, allocations: 121.5 kB / 447.6 MB, free: 192 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1388, allocations: 8 kB / 447.6 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1388, allocations: 3.938 kB / 447.7 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1388, allocations: 0 / 447.7 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.438e-05/0.1389, allocations: 27.92 kB / 447.7 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.1389, allocations: 4.156 kB / 447.7 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.32e-05/0.139, allocations: 7.969 kB / 447.7 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.139, allocations: 11.98 kB / 447.7 MB, free: 128 kB / 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 (12): * Single equations (assignments): 12 * 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 9.354e-05/0.1391, allocations: 129.8 kB / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.1391, allocations: 16 kB / 447.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.957e-05/0.1392, allocations: 13.41 kB / 447.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1392, allocations: 7.938 kB / 447.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1392, allocations: 0 / 447.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.1392, allocations: 7.922 kB / 447.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005061/0.1397, allocations: 431.2 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.1397, allocations: 7.984 kB / 448.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/0.1398, allocations: 8 kB / 448.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/0.1398, allocations: 7.938 kB / 448.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1398, allocations: 0 / 448.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1398, allocations: 0 / 448.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1398, allocations: 0 / 448.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.1401, allocations: 236.2 kB / 448.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.1402, allocations: 85.02 kB / 448.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.1402, allocations: 7.938 kB / 448.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.1403, allocations: 7.969 kB / 448.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.1403, allocations: 11.94 kB / 448.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.1403, allocations: 7.984 kB / 448.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.1405, allocations: 136 kB / 448.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1405, allocations: 4 kB / 448.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000266/0.1407, allocations: 31.98 kB / 448.8 MB, free: 14.88 MB / 334.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 (10): * Single equations (assignments): 8 * 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.00113/0.1419, allocations: 467.5 kB / 449.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.1421, allocations: 79.91 kB / 449.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1421, allocations: 0 / 449.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.331e-05/0.1422, allocations: 39.92 kB / 449.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.1426, allocations: 27.92 kB / 449.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004818/0.1431, allocations: 247 kB / 449.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.1435, allocations: 0.7085 MB / 450.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001368/0.1436, allocations: 21.06 kB / 450.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.689e-05/0.1437, allocations: 27.42 kB / 450.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1437, allocations: 0 / 450.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of Templates: time 0.004937/0.1487, allocations: 1.869 MB / 452.3 MB, free: 11.46 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches