Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 107.7 kB / 17.21 MB, free: 6.289 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.001765/0.001765, allocations: 194 kB / 18.12 MB, free: 5.379 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.476/1.476, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2182/0.2182, allocations: 44.17 MB / 336.1 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 60.75 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1435, allocations: 60.82 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00421/0.1478, allocations: 1.972 MB / 470.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.1494, allocations: 0.9004 MB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.1496, allocations: 4 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004625/0.1501, allocations: 39.77 kB / 471.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.1504, allocations: 51.77 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.151, allocations: 106.3 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.1512, allocations: 135.6 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.1514, allocations: 29.48 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.1515, allocations: 47.73 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.1516, allocations: 55.64 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.1517, allocations: 4 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.1518, allocations: 39.98 kB / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.719e-05/0.1519, allocations: 23.91 kB / 471.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.45e-05/0.152, allocations: 47.67 kB / 472 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.1522, allocations: 143.8 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1522, allocations: 3.938 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1522, allocations: 4 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1522, allocations: 0 / 472.1 MB, free: 11.22 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007329/0.153, allocations: 472.5 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.153, allocations: 12.03 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.518e-05/0.1531, allocations: 12.75 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.1534, allocations: 224 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.1534, allocations: 8.375 kB / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.1535, allocations: 8.125 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.1537, allocations: 116.2 kB / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1538, allocations: 0 / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.1538, allocations: 0 / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1538, allocations: 4 kB / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.154, allocations: 47.91 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006467/0.1546, allocations: 0.5048 MB / 473.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.155, allocations: 94.59 kB / 473.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.1551, allocations: 44.81 kB / 473.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.1551, allocations: 0 / 473.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002515/0.1554, allocations: 83.36 kB / 473.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.893e-06/0.1554, allocations: 0 / 473.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004211/0.1558, allocations: 145.3 kB / 473.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.1559, allocations: 71.22 kB / 473.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.1561, allocations: 187.5 kB / 474.1 MB, free: 9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1561, allocations: 29.7 kB / 474.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.89e-05/0.1562, allocations: 116 kB / 474.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.1563, allocations: 27.61 kB / 474.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/0.1563, allocations: 25.72 kB / 474.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1564, allocations: 330.8 kB / 474.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.1565, allocations: 27.98 kB / 474.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.1567, allocations: 60.28 kB / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.1569, allocations: 96.2 kB / 474.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1569, allocations: 0 / 474.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002929/0.1572, allocations: 137.3 kB / 475 MB, free: 8.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1572, allocations: 8 kB / 475 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1572, allocations: 0 / 475 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.1572, allocations: 8 kB / 475 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.1574, allocations: 31.98 kB / 475 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.1574, allocations: 4 kB / 475 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.79e-05/0.1575, allocations: 15.92 kB / 475 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.1575, allocations: 7.984 kB / 475 MB, free: 8.031 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000125/0.1576, allocations: 125.8 kB / 475.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.1576, allocations: 15.81 kB / 475.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.67e-05/0.1577, allocations: 17.86 kB / 475.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1577, allocations: 3.938 kB / 475.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.1577, allocations: 0 / 475.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1577, allocations: 4 kB / 475.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.158, allocations: 205.6 kB / 475.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.158, allocations: 7.938 kB / 475.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.253e-05/0.1581, allocations: 11.98 kB / 475.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.1581, allocations: 0 / 475.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.1581, allocations: 0 / 475.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1581, allocations: 7.938 kB / 475.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1581, allocations: 0 / 475.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/0.1585, allocations: 180.8 kB / 475.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.1586, allocations: 96.89 kB / 475.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.1586, allocations: 3.984 kB / 475.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.616e-05/0.1587, allocations: 7.938 kB / 475.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.1588, allocations: 11.92 kB / 475.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.1588, allocations: 8 kB / 475.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.1589, allocations: 137.2 kB / 475.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.663e-06/0.1589, allocations: 0 / 475.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.1592, allocations: 36.12 kB / 475.9 MB, free: 7.074 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.000987/0.1602, allocations: 404.6 kB / 476.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.1605, allocations: 79.89 kB / 476.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1605, allocations: 0 / 476.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.1606, allocations: 39.92 kB / 476.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.1609, allocations: 36.22 kB / 476.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006118/0.1615, allocations: 297.9 kB / 476.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.1618, allocations: 0.7126 MB / 477.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.264e-05/0.1619, allocations: 17.41 kB / 477.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/0.162, allocations: 19.42 kB / 477.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.162, allocations: 4 kB / 477.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of Templates: time 0.005011/0.167, allocations: 1.782 MB / 479.3 MB, free: 3.812 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches