Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002124/0.002123, allocations: 96.14 kB / 15.87 MB, free: 16 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.002031/0.002031, allocations: 202.7 kB / 16.79 MB, free: 6.84 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.835/1.835, allocations: 205.1 MB / 222.6 MB, free: 4.973 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.3804/0.3804, allocations: 43.49 MB / 313.5 MB, free: 8.375 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.001345/0.001345, allocations: 67.84 kB / 382 MB, free: 8.801 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1302, allocations: 57.79 MB / 439.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003312/0.1336, allocations: 1.9 MB / 441.7 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.135, allocations: 0.8858 MB / 442.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.819e-05/0.1351, allocations: 4 kB / 442.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004353/0.1355, allocations: 247.5 kB / 442.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002632/0.1358, allocations: 171.5 kB / 443 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.1361, allocations: 135.8 kB / 443.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.1364, allocations: 231.3 kB / 443.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1365, allocations: 25.52 kB / 443.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.1366, allocations: 115.6 kB / 443.5 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.1368, allocations: 179.4 kB / 443.7 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.1368, allocations: 4 kB / 443.7 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1369, allocations: 43.98 kB / 443.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.137, allocations: 63.75 kB / 443.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.408e-05/0.1371, allocations: 79.3 kB / 443.9 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.1374, allocations: 219.4 kB / 444.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1374, allocations: 0 / 444.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1374, allocations: 0 / 444.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.187e-06/0.1374, allocations: 0 / 444.1 MB, free: 10.61 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006657/0.1381, allocations: 0.5641 MB / 444.7 MB, free: 9.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1381, allocations: 8.031 kB / 444.7 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/0.1382, allocations: 36.5 kB / 444.7 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.1385, allocations: 284 kB / 445 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.1385, allocations: 4.375 kB / 445 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.1385, allocations: 12.12 kB / 445 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.1388, allocations: 91.36 kB / 445.1 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1388, allocations: 3.938 kB / 445.1 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.1388, allocations: 8 kB / 445.1 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1388, allocations: 3.938 kB / 445.1 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.1389, allocations: 35.97 kB / 445.1 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.1394, allocations: 456.9 kB / 445.6 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.1397, allocations: 121.3 kB / 445.7 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.077e-05/0.1398, allocations: 37.7 kB / 445.7 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.1399, allocations: 4 kB / 445.7 MB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002594/0.1401, allocations: 113 kB / 445.9 MB, free: 8.656 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.1401, allocations: 0 / 445.9 MB, free: 8.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008694/0.141, allocations: 380.2 kB / 446.2 MB, free: 8.277 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.1411, allocations: 85.05 kB / 446.3 MB, free: 8.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004254/0.1415, allocations: 489.6 kB / 446.8 MB, free: 7.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1415, allocations: 29.7 kB / 446.8 MB, free: 7.652 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.1416, allocations: 156.4 kB / 447 MB, free: 7.496 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.1417, allocations: 51.34 kB / 447 MB, free: 7.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.1417, allocations: 33.72 kB / 447.1 MB, free: 7.406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1419, allocations: 342.8 kB / 447.4 MB, free: 7.062 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.972e-05/0.142, allocations: 43.98 kB / 447.4 MB, free: 7.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.1421, allocations: 75.41 kB / 447.5 MB, free: 6.934 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.1423, allocations: 115.3 kB / 447.6 MB, free: 6.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1423, allocations: 192 / 447.6 MB, free: 6.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003201/0.1427, allocations: 193.2 kB / 447.8 MB, free: 6.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.1427, allocations: 4 kB / 447.8 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1427, allocations: 0 / 447.8 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1427, allocations: 4 kB / 447.8 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.1428, allocations: 31.97 kB / 447.8 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1428, allocations: 7.938 kB / 447.9 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.985e-05/0.1429, allocations: 11.91 kB / 447.9 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.143, allocations: 4 kB / 447.9 MB, free: 6.551 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001494/0.1431, allocations: 181.6 kB / 448 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.1432, allocations: 31.66 kB / 448.1 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.824e-05/0.1432, allocations: 43.11 kB / 448.1 MB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.1433, allocations: 7.984 kB / 448.1 MB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.1433, allocations: 3.938 kB / 448.1 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1433, allocations: 0 / 448.1 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007098/0.144, allocations: 0.632 MB / 448.8 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.144, allocations: 4 kB / 448.8 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.1441, allocations: 19.98 kB / 448.8 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1441, allocations: 0 / 448.8 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.1441, allocations: 11.94 kB / 448.8 MB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1441, allocations: 0 / 448.8 MB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1441, allocations: 3.938 kB / 448.8 MB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.1445, allocations: 368.1 kB / 449.2 MB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.1446, allocations: 100.7 kB / 449.3 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.1446, allocations: 7.984 kB / 449.3 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.1447, allocations: 4 kB / 449.3 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.1448, allocations: 15.92 kB / 449.3 MB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.1448, allocations: 19.92 kB / 449.3 MB, free: 4.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003157/0.1451, allocations: 359.1 kB / 449.7 MB, free: 4.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1452, allocations: 0 / 449.7 MB, free: 4.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003188/0.1455, allocations: 35.98 kB / 449.7 MB, free: 4.609 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001112/0.1466, allocations: 473.1 kB / 450.2 MB, free: 4.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003352/0.1469, allocations: 111.8 kB / 450.3 MB, free: 4.074 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.147, allocations: 4 kB / 450.3 MB, free: 4.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.1471, allocations: 63.89 kB / 450.3 MB, free: 4.008 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/0.1477, allocations: 65.14 kB / 450.4 MB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008339/0.1485, allocations: 0.5948 MB / 451 MB, free: 3.316 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.1489, allocations: 0.7713 MB / 451.8 MB, free: 2.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.337e-05/0.149, allocations: 34.55 kB / 451.8 MB, free: 2.484 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.1491, allocations: 27.42 kB / 451.8 MB, free: 2.457 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1491, allocations: 0 / 451.8 MB, free: 2.457 MB / 382.1 MB Notification: Performance of Templates: time 0.2188/0.3679, allocations: 2.614 MB / 454.4 MB, free: 48.88 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches