Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001002/0.001002, allocations: 194 kB / 18.12 MB, free: 5.363 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.389/1.389, allocations: 222.9 MB / 241.8 MB, free: 15.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.213/0.213, allocations: 44.16 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001225, allocations: 76.12 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1361, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003443/0.1397, allocations: 1.752 MB / 470.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.1411, allocations: 0.8692 MB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.281e-05/0.1412, allocations: 0 / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.1415, allocations: 27.89 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.1416, allocations: 43.84 kB / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.1419, allocations: 98.52 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.1421, allocations: 87.7 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.001e-05/0.1422, allocations: 24.2 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.099e-05/0.1422, allocations: 35.8 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.185e-05/0.1423, allocations: 23.86 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.1423, allocations: 4 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.876e-05/0.1424, allocations: 47.91 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.856e-05/0.1425, allocations: 15.92 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.705e-05/0.1425, allocations: 31.75 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.1427, allocations: 107.9 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1428, allocations: 4 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1428, allocations: 0 / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.1428, allocations: 0 / 471.7 MB, free: 11.66 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.0005239/0.1433, allocations: 411 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1433, allocations: 8.031 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.1434, allocations: 12.84 kB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.1436, allocations: 205.9 kB / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.1437, allocations: 384 / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.1437, allocations: 12.12 kB / 472.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.1439, allocations: 57.67 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1439, allocations: 0 / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1439, allocations: 0 / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1439, allocations: 4 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.831e-05/0.144, allocations: 15.98 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.1444, allocations: 292.8 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.1446, allocations: 54.69 kB / 472.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.584e-05/0.1446, allocations: 24.84 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.1447, allocations: 4 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001956/0.1449, allocations: 59.39 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.1449, allocations: 0 / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005582/0.1454, allocations: 177.2 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.1455, allocations: 51.41 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.1457, allocations: 173.9 kB / 473.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1457, allocations: 29.64 kB / 473.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.1458, allocations: 100.1 kB / 473.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.1458, allocations: 35.56 kB / 473.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.1459, allocations: 21.72 kB / 473.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.146, allocations: 330.8 kB / 473.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.939e-05/0.1461, allocations: 19.98 kB / 473.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.755e-05/0.1461, allocations: 37.7 kB / 473.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.1463, allocations: 53.72 kB / 473.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1463, allocations: 384 / 473.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001858/0.1465, allocations: 105.4 kB / 473.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1465, allocations: 4 kB / 473.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1465, allocations: 4.031 kB / 474 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1465, allocations: 8.172 kB / 474 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.471e-05/0.1466, allocations: 23.92 kB / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1466, allocations: 3.938 kB / 474 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.1467, allocations: 7.938 kB / 474 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1467, allocations: 4 kB / 474 MB, free: 9.125 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.0001225/0.1468, allocations: 117.8 kB / 474.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.1469, allocations: 11.89 kB / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.336e-05/0.1469, allocations: 16.72 kB / 474.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1469, allocations: 8 kB / 474.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1469, allocations: 0 / 474.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1469, allocations: 3.938 kB / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.1474, allocations: 383.3 kB / 474.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1474, allocations: 0 / 474.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.4e-05/0.1475, allocations: 11.98 kB / 474.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1475, allocations: 4 kB / 474.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.1475, allocations: 7.938 kB / 474.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1475, allocations: 4.031 kB / 474.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1475, allocations: 0 / 474.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.1477, allocations: 200.1 kB / 474.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/0.1478, allocations: 85.02 kB / 474.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.1478, allocations: 11.92 kB / 474.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.819e-05/0.1479, allocations: 4 kB / 474.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.1479, allocations: 8 kB / 474.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.148, allocations: 7.984 kB / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.738e-05/0.1481, allocations: 135.1 kB / 475 MB, free: 8.016 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.463e-06/0.1481, allocations: 0 / 475 MB, free: 8.016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.1484, allocations: 23.94 kB / 475 MB, free: 7.992 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.001049/0.1494, allocations: 468 kB / 475.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.1496, allocations: 67.83 kB / 475.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1496, allocations: 0 / 475.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.346e-05/0.1497, allocations: 27.92 kB / 475.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.15, allocations: 27.98 kB / 475.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/0.1505, allocations: 236.6 kB / 475.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.1508, allocations: 0.7043 MB / 476.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.709e-05/0.1509, allocations: 17.19 kB / 476.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.151, allocations: 15.44 kB / 476.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.151, allocations: 0 / 476.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of Templates: time 0.004256/0.1552, allocations: 1.637 MB / 478.2 MB, free: 4.945 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches