Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009202/0.0009204, allocations: 101.1 kB / 17.01 MB, free: 6.391 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.001226/0.001226, allocations: 182.2 kB / 17.89 MB, free: 5.922 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.47/1.47, allocations: 223.3 MB / 241.9 MB, free: 260 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2319/0.2319, allocations: 44.24 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003095, allocations: 15.98 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.133, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.001941/0.135, allocations: 1.27 MB / 472.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006711/0.1357, allocations: 383.5 kB / 473.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.592e-05/0.1357, allocations: 4 kB / 473.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.136, allocations: 103.8 kB / 473.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.1362, allocations: 63.84 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.1365, allocations: 95.81 kB / 473.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.1366, allocations: 67.83 kB / 473.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.951e-05/0.1367, allocations: 20.16 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.213e-05/0.1368, allocations: 27.86 kB / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.1369, allocations: 55.86 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.1369, allocations: 4 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.896e-05/0.137, allocations: 32 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.57e-05/0.1371, allocations: 31.83 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/0.1371, allocations: 37.7 kB / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.1373, allocations: 83.77 kB / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1373, allocations: 0 / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1373, allocations: 0 / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1373, allocations: 0 / 473.9 MB, free: 11.43 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000461/0.1378, allocations: 403.1 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1378, allocations: 8.562 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.1379, allocations: 7.906 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.138, allocations: 210.7 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.1381, allocations: 8 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.1381, allocations: 0 / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1383, allocations: 65.61 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1383, allocations: 3.938 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.1383, allocations: 0 / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1383, allocations: 4 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.509e-05/0.1384, allocations: 27.98 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.1388, allocations: 312.8 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.1389, allocations: 50.5 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.874e-05/0.139, allocations: 20.94 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.139, allocations: 8 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.1391, allocations: 30.56 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1391, allocations: 0 / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008549/0.1399, allocations: 272.9 kB / 475.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.14, allocations: 59.41 kB / 475.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.1402, allocations: 234.7 kB / 475.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.1402, allocations: 29.7 kB / 475.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.837e-05/0.1403, allocations: 112 kB / 475.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.1403, allocations: 23.66 kB / 475.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-06/0.1403, allocations: 0 / 475.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1404, allocations: 326.8 kB / 476 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.025e-05/0.1405, allocations: 39.97 kB / 476.1 MB, free: 9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.892e-05/0.1406, allocations: 31.98 kB / 476.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.031e-05/0.1407, allocations: 39.98 kB / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1407, allocations: 4 kB / 476.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002044/0.1409, allocations: 125.5 kB / 476.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.141, allocations: 4 kB / 476.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.141, allocations: 4 kB / 476.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.141, allocations: 0 / 476.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1411, allocations: 19.98 kB / 476.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.1411, allocations: 0 / 476.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.933e-05/0.1411, allocations: 8 kB / 476.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1412, allocations: 4 kB / 476.3 MB, free: 8.758 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.85e-05/0.1413, allocations: 137.7 kB / 476.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.1413, allocations: 11.91 kB / 476.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.1416, allocations: 142.9 kB / 476.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1416, allocations: 4 kB / 476.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1416, allocations: 0 / 476.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1416, allocations: 0 / 476.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005096/0.1421, allocations: 431.6 kB / 477 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1421, allocations: 0 / 477 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.509e-05/0.1422, allocations: 23.92 kB / 477 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1422, allocations: 3.938 kB / 477 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.1422, allocations: 4 kB / 477 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1422, allocations: 0 / 477 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1422, allocations: 432 / 477 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.1425, allocations: 232.2 kB / 477.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.1425, allocations: 93 kB / 477.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.1426, allocations: 3.938 kB / 477.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.1426, allocations: 8 kB / 477.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.1427, allocations: 19.97 kB / 477.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.1427, allocations: 7.953 kB / 477.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.1428, allocations: 184.3 kB / 477.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1429, allocations: 0 / 477.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.1431, allocations: 24 kB / 477.6 MB, free: 7.348 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009812/0.1441, allocations: 447.6 kB / 478 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.1443, allocations: 79.95 kB / 478.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1443, allocations: 0 / 478.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.611e-05/0.1444, allocations: 55.89 kB / 478.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.1448, allocations: 12.17 kB / 478.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/0.1453, allocations: 326 kB / 478.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.1456, allocations: 0.7121 MB / 479.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.049e-05/0.1457, allocations: 16.95 kB / 479.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.1457, allocations: 15.44 kB / 479.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1457, allocations: 4 kB / 479.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of Templates: time 0.004/0.1497, allocations: 1.281 MB / 480.5 MB, free: 4.539 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches